File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1414 permissions :
1515 contents : write # required for changesets to push tags/commits
1616 pull-requests : write # required for changesets to create PRs
17+ id-token : write # required for npm trusted publishing (OIDC)
1718 steps :
1819 - name : Harden the runner (Audit all outbound calls)
1920 uses : step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
3536
3637 - uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
3738 with :
38- node-version : 18
39- registry-url : https://registry.npmjs.org # important!
39+ node-version : 22
40+ registry-url : https://registry.npmjs.org
4041 cache : yarn
4142
4243 # The Changesets action will either create/update a release PR or, if no changesets remain, publish to npm.
4647 publish : yarn changeset publish
4748 env :
4849 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
50+ NPM_CONFIG_PROVENANCE : true
You can’t perform that action at this time.
0 commit comments