Skip to content

Commit

Permalink
Upgrade actions/setup-node from v3 to v4.
Browse files Browse the repository at this point in the history
This should address a warning our builds have been getting[^1]:

> The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info:
> https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

[^1]: https://github.com/block/elasticgraph/actions/runs/11565680928
  • Loading branch information
myronmarston committed Oct 29, 2024
1 parent 4503521 commit 9eec73b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "23.x"

Expand Down
2 changes: 1 addition & 1 deletion script/update_ci_yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "23.x"

Expand Down

0 comments on commit 9eec73b

Please sign in to comment.