File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,15 @@ jobs:
3131 - name : Publish to npm dry-run
3232 if : github.ref == 'refs/heads/master' && github.event_name == 'pull_request'
3333 env :
34- run : echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
3534 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
36- run : npm publish:dry-run
35+ run : |
36+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
37+ npm publish --dry-run
3738
3839 - name : Publish to npm
3940 if : github.ref == 'refs/heads/master' && github.event_name == 'push'
4041 env :
41- run : echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
4242 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
43- run : npm publish
43+ run : |
44+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
45+ npm publish
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ Release Date: 9/4/24
17172.0.5 - NPM package borked for cjs
18182.0.6 - NPM package bundling the ESM/CommonJS support
19192.0.7 - Finally? NPM bundling
20- 2.0.8 - CI/CD Pipeline
20+ 2.0.8 - CI/CD Pipeline
You can’t perform that action at this time.
0 commit comments