Skip to content

Commit 8ab52d5

Browse files
authored
fix(ci): adapt workflow to use supported npm versions (#5277)
1 parent 84cce75 commit 8ab52d5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
node_version:
13-
- "18"
13+
- "22"
1414
runs-on: self-hosted
1515
timeout-minutes: 10
1616
env:

.github/workflows/unit-test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,16 @@ jobs:
3232
node-version: ${{ matrix.node_version }}
3333

3434
- run: npm install -g npm@latest
35-
if: ${{ matrix.node_version == '18' || matrix.node_version == '20' || matrix.node_version == '22' }}
35+
if: ${{ matrix.node_version == '20' || matrix.node_version == '22' }}
3636

3737
# [email protected] drops support for Node.js v14 and v16
3838
- run: npm install -g npm@"<10.0.0"
3939
if: ${{ matrix.node_version == '14' || matrix.node_version == '16' }}
4040

41+
# [email protected] drops support for Node.js v18
42+
- run: npm install -g npm@"<11.0.0"
43+
if: ${{ matrix.node_version == '18'}}
44+
4145
- name: Bootstrap
4246
run: npm ci
4347

@@ -65,7 +69,7 @@ jobs:
6569
cache: 'npm'
6670
cache-dependency-path: |
6771
package-lock.json
68-
node-version: '18'
72+
node-version: '20'
6973

7074
- run: npm install -g npm@latest
7175

0 commit comments

Comments
 (0)