Skip to content

Commit

Permalink
Update all GitHub actions to run on Node 20 (#9334)
Browse files Browse the repository at this point in the history
Node 16 is almost End of Life and GitHub recommends that all actions
should be updated to use Node 20

https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
  • Loading branch information
Tobbe authored and jtoar committed Oct 28, 2023
1 parent 546344b commit 3d58200
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .github/actions/check_create_redwood_app/action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Check create redwood app
description: Determines if the create redwood app JS template should be rebuilt
runs:
# `node18` isn't supported yet
using: node16
using: node20
main: check_create_redwood_app.mjs
inputs:
labels:
Expand Down
3 changes: 1 addition & 2 deletions .github/actions/check_test_project_fixture/action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Check test project fixture
description: Determines if the test project fixture should be rebuilt
runs:
# `node18` isn't supported yet
using: node16
using: node20
main: check_test_project_fixture.mjs
inputs:
labels:
Expand Down
3 changes: 1 addition & 2 deletions .github/actions/only_doc_changes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ outputs:
only-doc-changes:
description: If the PR only changes docs
runs:
# `node18` isn't supported yet
using: node16
using: node20
main: only_doc_changes.mjs
3 changes: 1 addition & 2 deletions .github/actions/require-milestone/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ name: Require milestone
description: Ensures that a PR has a valid milestone

runs:
# `node18` isn't supported yet
using: node16
using: node20
main: requireMilestone.mjs
3 changes: 1 addition & 2 deletions .github/actions/set-up-test-project/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Set up test project
description: Sets up the test project fixture in CI for smoke tests and CLI checks

runs:
# `node18` isn't supported yet
using: node16
using: node20
main: 'setUpTestProject.mjs'

inputs:
Expand Down
3 changes: 1 addition & 2 deletions .github/actions/update_all_contributors/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Update all contributors
description: Updates all contributors
runs:
# `node18` isn't supported yet
using: node16
using: node20
main: update_all_contributors.mjs
3 changes: 1 addition & 2 deletions tasks/check/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: 'Check'
description: "Check constraints, dependencies, and package.json's"
runs:
# `node18` isn't supported yet
using: node16
using: node20
main: 'check.mjs'

0 comments on commit 3d58200

Please sign in to comment.