mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-02 06:11:32 +01:00
Move from yarn to npm
This commit is contained in:
8
.github/workflows/danger.yml
vendored
8
.github/workflows/danger.yml
vendored
@@ -16,17 +16,17 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '20.11.1'
|
||||
- run: npm install -g yarn@1.22.10 npm@10.2.5
|
||||
- run: npm install -g npm@10.2.5
|
||||
- name: Cache danger node_modules
|
||||
id: cache-desktop-modules
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: danger/node_modules
|
||||
key: danger-${{ runner.os }}-${{ hashFiles('danger/package.json', 'danger/yarn.lock') }}
|
||||
key: danger-${{ runner.os }}-${{ hashFiles('danger/package.json', 'danger/package-lock.json') }}
|
||||
- name: Install danger node_modules
|
||||
if: steps.cache-desktop-modules.outputs.cache-hit != 'true'
|
||||
run: cd danger && yarn install --frozen-lockfile
|
||||
run: cd danger && npm ci --legacy-peer-deps
|
||||
- name: Run DangerJS
|
||||
run: yarn danger:ci
|
||||
run: npm run danger:ci
|
||||
env:
|
||||
DANGER_GITHUB_API_TOKEN: ${{ secrets.AUTOMATED_GITHUB_PAT }}
|
||||
|
||||
Reference in New Issue
Block a user