Skip to content

Commit

Permalink
Bump github actions to v4
Browse files Browse the repository at this point in the history
Node.js 16 will be deprecated on 09/11/2023, refer to nodejs blog announcements[^1].
GitHub will transition actions to nodejs 20 by Spring 2024, refer to github blog[^2].
Bumps the following actions to
- actions/checkout:   v3 => v4
- actions/setup-node: v3 => v4

Refer to below link for more details:
- https://github.com/actions/checkout/releases/tag/v4.0.0
- https://github.com/actions/setup-node/releases/tag/v4.0.0
- [^1]: https://nodejs.org/en/blog/announcements/nodejs16-eol
- [^2]: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20
  • Loading branch information
huiyifyj committed Nov 4, 2023
1 parent 0a9a77f commit 8fae45b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

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

Expand Down

0 comments on commit 8fae45b

Please sign in to comment.