ci: fix OIDC publish — drop npm@latest engine break#825
Open
omegent-app[bot] wants to merge 1 commit into
Open
ci: fix OIDC publish — drop npm@latest engine break#825omegent-app[bot] wants to merge 1 commit into
omegent-app[bot] wants to merge 1 commit into
Conversation
npm@12 requires Node ^24.15; setup-node 24.14 ships npm 11.11 which already satisfies trusted publishing (>=11.5.1). Remove the global upgrade step from the release.oidc.yaml template so the version job can reach publish after re-copying to workflows/release.yaml.
@effect-app/cli
effect-app
@effect-app/eslint-codegen-model
@effect-app/eslint-shared-config
@effect-app/infra
@effect-app/vue
@effect-app/vue-components
commit: |
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
The Changesets
versionjob failed before publish:npm install -g npm@latestpulled npm 12, which needs Node ≥ 24.15. The runner is on Node 24.14 with npm 11.11.0, which already satisfies OIDC trusted publishing (≥ 11.5.1).This PR updates
.github/release.oidc.yaml(template) to remove that upgrade step.Maintainer action (bot cannot push workflow files)
After merge, or immediately on
main:Then re-run the failed Changesets workflow (or wait for the push).
Test plan
release.yamlno longer runsnpm@latestupgradeNo NPM_TOKEN found, but OIDC is available - using npm trusted publishing