Skip to content

Commit 07833c0

Browse files
authored
ci: fix typo in lint matrix setup
`env.node-version` was undefined (`matrix.node-version` was defined, but never used), therefore the linting used to run in Node.js 14
1 parent 0c6dcdc commit 07833c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
os: [ubuntu-latest]
23-
node-version: [12.x]
23+
node-version: [14.x]
2424

2525
runs-on: ${{ matrix.os }}
2626

@@ -29,10 +29,10 @@ jobs:
2929
with:
3030
fetch-depth: 0
3131

32-
- name: Use Node.js ${{ env.node-version }}
32+
- name: Use Node.js ${{ matrix.node-version }}
3333
uses: actions/setup-node@v1
3434
with:
35-
node-version: ${{ env.node-version }}
35+
node-version: ${{ matrix.node-version }}
3636

3737
- name: Use latest NPM
3838
run: sudo npm i -g npm

0 commit comments

Comments
 (0)