File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,18 @@ jobs:
3838 run : bun run build
3939
4040 - name : Configure .npmrc
41- run : echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
41+ run : |
42+ echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
43+ echo "always-auth=true" >> ~/.npmrc
4244
4345 - name : Publish
4446 if : ${{ !inputs.dry-run }}
4547 run : bun publish --ignore-scripts --registry https://npm.pkg.github.com
4648 env :
47- NPM_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4850
4951 - name : Publish (dry-run)
5052 if : ${{ inputs.dry-run }}
5153 run : bun publish --ignore-scripts --dry-run --registry https://npm.pkg.github.com
5254 env :
53- NPM_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments