Skip to content

Commit 05f7078

Browse files
authored
Stop using matrix for license check (#2254)
1 parent b250049 commit 05f7078

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,10 @@ jobs:
3737
- uses: actions/checkout@v4
3838

3939
- name: Use Node.js ${{ matrix.node-version }}
40-
uses: actions/setup-node@v3
40+
uses: actions/setup-node@v4
4141
with:
4242
node-version: ${{ matrix.node-version }}
4343

44-
# workaround for failing tests on Node.js 14.x
45-
# see https://github.com/actions/setup-node/issues/411
46-
- name: Force install specific npm version
47-
run: |
48-
npm install --global npm@8.3.1
49-
npm install --global npm@9.7.1
50-
5144
- name: Install
5245
run: |
5346
npm install
@@ -64,17 +57,13 @@ jobs:
6457
name: License check
6558
runs-on: ubuntu-latest
6659

67-
strategy:
68-
matrix:
69-
node-version: [22.x]
70-
7160
steps:
72-
- uses: actions/checkout@v3
61+
- uses: actions/checkout@v4
7362

74-
- name: Use Node.js ${{ matrix.node-version }}
75-
uses: actions/setup-node@v3
63+
- name: Use Node.js
64+
uses: actions/setup-node@v4
7665
with:
77-
node-version: ${{ matrix.node-version }}
66+
node-version: 22.x
7867

7968
- name: Install
8069
run: |

0 commit comments

Comments
 (0)