mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
ci: opt the JavaScript actions into Node.js 24
Node 20 is being removed from GitHub-hosted runners in Sept 2026 and the actions/checkout@v4 / setup-node@v4 steps were warning on every run. Set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true at the workflow level so they pick up the Node 24 runtime now. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,14 @@ on:
|
||||
- 'feat/**'
|
||||
pull_request:
|
||||
|
||||
# Opt into the Node.js 24 runtime for the JavaScript actions
|
||||
# (actions/checkout, actions/setup-node, …). Node 20 will be removed
|
||||
# from GitHub-hosted runners in September 2026; this env var asks the
|
||||
# runner to use Node 24 today so the workflow logs stop warning about
|
||||
# it on every run.
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
|
||||
|
||||
jobs:
|
||||
check:
|
||||
name: Type check + tests
|
||||
|
||||
Reference in New Issue
Block a user