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:
31
31
- name : Publish to npm dry-run
32
32
if : github.ref == 'refs/heads/master' && github.event_name == 'pull_request'
33
33
env :
34
- run : echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
35
34
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
37
38
38
39
- name : Publish to npm
39
40
if : github.ref == 'refs/heads/master' && github.event_name == 'push'
40
41
env :
41
- run : echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
42
42
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
17
17
2.0.5 - NPM package borked for cjs
18
18
2.0.6 - NPM package bundling the ESM/CommonJS support
19
19
2.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