ci(release): bump actions to Node 24 runtime versions (#48)

Update checkout@v4 to v5, setup-node@v4 to v5, and
attest-build-provenance@v1 to v2 so the bundled JS actions run on
Node 24 natively. Drop the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 env
workaround, no longer needed once the actions target Node 24.
This commit is contained in:
steffer 2026-06-17 11:39:17 +02:00 committed by GitHub
parent 6f65233351
commit 50a3d2d039
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,19 +13,15 @@ permissions:
id-token: write
attestations: write
env:
# Run the bundled JS actions on Node 24; Node 20 is being removed from the runners.
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: "22"
cache: "npm"
@ -37,7 +33,7 @@ jobs:
run: npm run build
- name: Attest build provenance
uses: actions/attest-build-provenance@v1
uses: actions/attest-build-provenance@v2
with:
subject-path: |
main.js