File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ permissions:
1010 issues : write
1111 pull-requests : write
1212 packages : write
13+ id-token : write # npm trusted publishing (OIDC) to npmjs.org
1314
1415jobs :
1516 release :
4142
4243 - run : yarn release
4344
45+ # OIDC trusted publishing requires npm >= 11.5.1; setup-node's bundled npm may lag behind
46+ - run : npm install --global npm@latest
47+
4448 # cannot run this on branches because it doesn't keep the canary version from auto shipit, can only secondarily publish to npm for main branch
4549 - name : Publish secondarily to npm
50+ # Auth for npmjs.org is OIDC trusted publishing (id-token above), not NPM_TOKEN; npm auto-generates provenance.
4651 # waiting on bug/related pr/auto release https://github.com/intuit/auto/issues/2488
4752 # run: lerna exec --stream --parallel -- npm publish --access=public --ignore-scripts --@alienfast:registry='https://registry.npmjs.org'
4853 run : >
You can’t perform that action at this time.
0 commit comments