Skip to content

Commit

Permalink
Update actions/setup-node to v3
Browse files Browse the repository at this point in the history
Also explicitly select the Node.js version to use, as recommended by the
docs.

The old version also seems to install Node.js 12, which is deprecated by
GitHub runners and cause lots of annotations/warnings in our workflows.
  • Loading branch information
lunkwill42 committed Jan 4, 2023
1 parent 05fe1e8 commit 8765c42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ jobs:
- uses: browser-actions/setup-chrome@latest
- uses: browser-actions/setup-firefox@latest
- run: chrome --version
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16

- name: npm install
run: |
Expand Down

0 comments on commit 8765c42

Please sign in to comment.