Conversation
kategengler
reviewed
Feb 7, 2026
| cache: pnpm | ||
| - run: npm install -g npm@latest # ensure that the globally installed npm is new enough to support OIDC | ||
| - run: pnpm install --frozen-lockfile | ||
| - name: Publish to NPM |
Member
There was a problem hiding this comment.
I think you could conditionalize the arguments based on branch name here to enable the different branch releases
Member
Author
There was a problem hiding this comment.
oh that is a much better idea 👍 that will stop me from having to manage the diff all the time! thanks a million for that
Member
Author
There was a problem hiding this comment.
I've pushed it in case you want to check, although I think the syntax can really only properly be tested in prod 🫠
Member
There was a problem hiding this comment.
I think that should work.
In ember-source I did it as two different steps with a condition https://github.com/emberjs/ember.js/blob/main/.github/workflows/publish-to-npm.yml#L32
kategengler
approved these changes
Feb 7, 2026
This was referenced Feb 7, 2026
Merged
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.
Our last attempt to release an alpha failed because our npm token has now expired 😭
I have already setup OIDC and this PR runs
pnpm create release-plan-setup@latestto update our release-plan CI jobs to align with the new defaults and make it possible to release againNote: we can no longer have multiple publish-branchname.yml CI jobs because of OIDC, I will temporarily go back to maintaining changes across branches on this file but I have a plan to make this easier to manage going forward