Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit c9d46b8

Browse files
committed
ci(yarncheck): read node version from nvmrc
1 parent b0585f1 commit c9d46b8

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
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v3
2323
- uses: actions/setup-node@v3
2424
with:
25-
node-version: 16
25+
node-version-file: .nvmrc
2626
- run: npm install -g yarn
2727
- run: yarn install --ignore-scripts --ignore-engines
2828
- run: test -z "$(git diff)" || (echo 'Please run yarn and commit all changes to yarn.lock'; false)
@@ -47,9 +47,9 @@ jobs:
4747

4848
- run: yarn install
4949
- run: test -z "$(git diff)" || (echo 'Did you check in a generated file to source control? Please remove it if so'; false)
50-
50+
5151
- run: yarn depcheck
52-
52+
5353
- run: ${{ matrix.env }} yarn ci
5454
env:
5555
CI: true

0 commit comments

Comments
 (0)