chore: upgrade CI to Node 24 and migrate npm publishing to OIDC #2978
+141
−66
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Warning
This PR is required to comply with npm's new security standard. npm deprecated all classic tokens on December 9, 2025 and now mandates OIDC Trusted Publishing for CI/CD workflows.
This PR is required by #2976.
Changes proposed in this pull request:
⯈ Upgrade GitHub Actions to v6 and Node.js 24
actions/checkoutfrom v4 to v6actions/setup-nodefrom v4 to v6actions/github-scriptfrom v7 to v8 (uses Node 24 runtime)node-version: currentto target Node 24node-version: currentto the features job which was missing it⯈ Migrate npm publishing to OIDC Trusted Publishing
NPM_TOKENenvironment variableid-token: writepermission required for OIDCregistry-urlto setup-node for npm authentication⯈ Add prerelease support and GitHub Release automation
mikepenz/release-changelog-builder-action@v6Migration steps required before merging:
Configure Trusted Publisher on npmjs.com for each package:
AssemblyScript, Repositoryassemblyscript, Workflowpublish.yml@assemblyscript/loaderand@assemblyscript/rtraceRemove
NPM_TOKENfrom repository secretsNODE_AUTH_TOKENis set, npm will try to use the token instead of OIDC and fail.Verify runners have npm 11.5.1+
node-version: current.