Skip to content

Commit 9604549

Browse files
committed
chore: downgrade npm to fix CI issues
1 parent 0457388 commit 9604549

File tree

8 files changed

+20
-0
lines changed

8 files changed

+20
-0
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
with:
1818
node-version: lts/*
1919
cache: npm
20+
- name: Downgrade npm
21+
run: npm install -g [email protected]
2022
- name: Install dependencies
2123
run: npm ci --no-audit && npm prune --production
2224
- name: Get size

.github/workflows/e2e-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
node-version: ${{ matrix.node-version }}
3434
cache: npm
3535
check-latest: true
36+
- name: Downgrade npm
37+
run: npm install -g [email protected]
38+
if: ${{ matrix.node-version == '*' }}
3639
- name: Cache verdaccio storage
3740
uses: actions/cache@v3
3841
with:

.github/workflows/integration-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ jobs:
5050
cache: npm
5151
check-latest: true
5252
if: '${{!steps.release-check.outputs.IS_RELEASE}}'
53+
- name: Downgrade npm
54+
run: npm install -g [email protected]
55+
if: ${{ matrix.node-version == '*' }}
5356
- name: Setup Deno
5457
uses: denoland/setup-deno@v1
5558
if: '${{!steps.release-check.outputs.IS_RELEASE}}'

.github/workflows/legacy-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ jobs:
5050
cache: npm
5151
check-latest: true
5252
if: '${{!steps.release-check.outputs.IS_RELEASE}}'
53+
- name: Downgrade npm
54+
run: npm install -g [email protected]
55+
if: ${{ matrix.node-version == '*' }}
5356
- name: Setup Deno
5457
uses: denoland/setup-deno@v1
5558
if: '${{!steps.release-check.outputs.IS_RELEASE}}'

.github/workflows/pre-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
node-version: lts/*
1818
cache: npm
1919
registry-url: 'https://registry.npmjs.org'
20+
- name: Downgrade npm
21+
run: npm install -g [email protected]
2022
- name: Install core dependencies
2123
run: npm ci --no-audit
2224
- name: Extract tag and version

.github/workflows/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
cache: npm
4040
registry-url: 'https://registry.npmjs.org'
4141

42+
- name: Downgrade npm
43+
run: npm install -g [email protected]
4244
- name: Install core dependencies
4345
run: npm ci --no-audit
4446

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
cache: npm
3535
check-latest: true
3636
if: '${{!steps.release-check.outputs.IS_RELEASE}}'
37+
- name: Downgrade npm
38+
run: npm install -g [email protected]
39+
if: ${{ matrix.node-version == '*' }}
3740
- name: Install core dependencies
3841
run: npm ci --no-audit
3942
if: '${{!steps.release-check.outputs.IS_RELEASE}}'

.github/workflows/verify-docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
with:
1919
node-version: lts/*
2020
cache: npm
21+
- name: Downgrade npm
22+
run: npm install -g [email protected]
2123
- name: Install core dependencies
2224
run: npm ci --no-audit
2325
- name: Install site dependencies

0 commit comments

Comments
 (0)