Skip to content

Commit

Permalink
Update actions and node version
Browse files Browse the repository at this point in the history
Node.js 12 runtime actions are deprecated.
Update the following actions to use Node.js 16 runtime:
- actions/checkout@v2 => actions/checkout@v3
- actions/setup-node@v2 => actions/setup-node@v3

For more information see:
- https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
- https://github.com/actions/checkout/releases/tag/v3.0.0
- https://github.com/actions/setup-node/releases/tag/v3.0.0
  • Loading branch information
huiyifyj committed Mar 30, 2023
1 parent ce998ac commit c2d3cb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install nodejs
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x

- name: Run tests
run: |
Expand Down

0 comments on commit c2d3cb1

Please sign in to comment.