File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 env :
2121 # Force npm to emit provenance (SLSA) when publishing via OIDC.
2222 NPM_CONFIG_PROVENANCE : true
23- NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN_PHANTOM_SECURITY_BOT }}
2423
2524 steps :
2625 - name : Checkout Repo
3332 uses : actions/setup-node@v4
3433 with :
3534 node-version : 20.x
35+ cache : " yarn"
3636 registry-url : " https://registry.npmjs.org"
37- token : ${{ secrets.NPM_PUBLISH_TOKEN_PHANTOM_SECURITY_BOT }}
3837
3938 - name : Ensure npm 11.5.1+ for trusted publishing
4039 run : npm install -g npm@^11.5.1
@@ -44,10 +43,11 @@ jobs:
4443
4544 - name : Create Release Pull Request or Publish to npm
4645 id : changesets
47- uses : changesets/action@v1
46+ uses : changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba
4847 with :
4948 # This expects you to have a script called release which does a build for your packages and calls changeset publish
49+ version : yarn changeset version
5050 publish : yarn release
51+ commitMode : github-api
5152 env :
5253 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53- NPM_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN_PHANTOM_SECURITY_BOT }}
You can’t perform that action at this time.
0 commit comments