File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 52
52
github-token : ${{ secrets.GITHUB_TOKEN }}
53
53
parallel : true
54
54
55
-
56
55
coverage :
57
56
name : Code Coverage
58
57
runs-on : ubuntu-latest
88
87
run : npm ci
89
88
90
89
- name : Publish to NPM
91
- uses : JS-DevTools/ npm- publish@v1
92
- with :
93
- token : ${{ secrets.NPM_TOKEN }}
90
+ run : npm publish --provenance --access public
91
+ env :
92
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
94
93
95
94
- name : Prepare the non-scoped packaged
96
95
run : |
99
98
sed -i "s/X.X.X/${VERSION}/g" dist/package.json
100
99
101
100
- name : Publish the non-scoped package to NPM
102
- uses : JS-DevTools/ npm- publish@v1
103
- with :
104
- token : ${{ secrets.NPM_TOKEN }}
105
- package : dist/package.json
101
+ run : npm publish --provenance --access public
102
+ working-directory : dist
103
+ env :
104
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments