Skip to content

Conversation

@piax93
Copy link

@piax93 piax93 commented Oct 20, 2025

I've set things up in the npmjs settings for this package, and YARN should have support for the OIDC workflow in yarnpkg/berry#6898.

How can we reasonably test this? I absolutely have no idea other than trying to release a new version of the package after shipping this change.

@piax93 piax93 force-pushed the u/mpiano/OPENSOURCE-156 branch from 3c65340 to 68c5bd1 Compare October 20, 2025 11:15
Comment on lines 7 to 8
permissions:
id-token: write # required for publishing
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from the linked PR in the PR description, it seems that permissions should be a key under publish-npm below? i think this is better so the id-token permission is limited to only the publish step

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very fair point, updated

@piax93 piax93 requested a review from kaisen October 27, 2025 16:29
@piax93
Copy link
Author

piax93 commented Oct 28, 2025

this won't work because of the OIDC feature being present only in yarnv2

@piax93 piax93 closed this Oct 28, 2025
@piax93 piax93 deleted the u/mpiano/OPENSOURCE-156 branch October 28, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants