File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,17 +38,21 @@ jobs:
3838 anthropic_api_key : ${{ secrets.ANTHROPIC_API_KEY }}
3939 github_token : ${{ secrets.GITHUB_TOKEN }}
4040 model : claude-sonnet-4-5-20250929
41- - uses : js-devtools/ npm- publish@v4
42- if : ${{ !contains(github.ref, '-alpha.') }}
41+ - name : Setup Node.js for npm publish
42+ uses : actions/setup-node@v6
4343 with :
44- token : ${{ secrets.NPM_TOKEN }}
45- provenance : true
46- - uses : js-devtools/npm-publish@v4
44+ node-version : 22.x
45+ registry-url : ' https://registry.npmjs.org'
46+ - name : Publish to npm
47+ if : ${{ !contains(github.ref, '-alpha.') }}
48+ env :
49+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
50+ run : npm publish --provenance --access public
51+ - name : Publish to npm with next tag
4752 if : ${{ contains(github.ref, '-alpha.') }}
48- with :
49- token : ${{ secrets.NPM_TOKEN }}
50- tag : next
51- provenance : true
53+ env :
54+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
55+ run : npm publish --tag next --provenance --access public
5256 - name : Create GitHub release
5357 id : create_release
5458 uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments