Skip to content

Commit

Permalink
Update Github actions to use Node 16 (#561)
Browse files Browse the repository at this point in the history
Node 12 will reach EOL at the end of April. Many Github actions have recently updated to use Node 16 (the Active LTS) and moved off of 12.

Updated `actions/checkout`, `actions/setup-node` and `actions/cache` in ci.yml to their most recent versions which are ran/built against Node 16. Also, chnged the node-version used in Github actions to 16.

The dev container appears to already be set up to use Ndoe 16.
  • Loading branch information
t27duck authored Apr 30, 2022
1 parent e521872 commit 43f9044
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '12'
- uses: actions/cache@v2
node-version: '16'
- uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down

0 comments on commit 43f9044

Please sign in to comment.