Repository navigation
fix: upgrade GitHub Actions to Node 24 and fix corepack blocking npm - #33
Merged
Merged
Conversation
- Upgrade actions/checkout v4 -> v6 - Upgrade actions/create-github-app-token v1 -> v3 - Upgrade actions/setup-node v4 -> v6 - Upgrade actions/upload-artifact v4 -> v7 - Upgrade codecov/codecov-action v5 -> v6 - Add corepack disable before npm install in publish workflow All upgraded actions run on Node.js 24, eliminating the Node.js 20 deprecation warnings. The corepack disable fixes the publish failure where corepack blocks npm because packageManager is set to pnpm.
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes the publish workflow failure at "Upgrade npm for OIDC trusted publishing" and eliminates Node.js 20 deprecation warnings across all workflows.
Changes
corepack disablebeforenpm install -g npm@latest. Corepack (bundled with Node 22) was intercepting thenpmcommand and blocking it becausepackage.jsondeclarespackageManager: pnpm@10.28.0.actions/checkoutv4 → v6actions/create-github-app-tokenv1 → v3actions/setup-nodev4 → v6actions/upload-artifactv4 → v7codecov/codecov-actionv5 → v6This eliminates the warning: "Node.js 20 actions are deprecated... Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026."