File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 runs-on : ubuntu-latest
12+
1213 steps :
1314 - uses : actions/checkout@v3
1415
1516 - name : Setup Node.js
1617 uses : actions/setup-node@v3
1718 with :
1819 node-version : ' 20.x'
19- registry-url : ' https://registry.npmjs.org'
20+ registry-url : ' https://registry.npmjs.org/ '
2021
2122 - name : Install dependencies
2223 run : npm ci
2324
2425 - name : Build
2526 run : npm run build
2627
27- - name : Create .npmrc file
28- run : |
29- echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> .npmrc
30-
3128 - name : Publish to NPM
3229 run : npm publish --access public
3330 env :
34- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
31+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6363 },
6464 "engines" : {
6565 "node" : " >=14.0.0"
66+ },
67+ "publishConfig" : {
68+ "access" : " public"
6669 }
6770}
You can’t perform that action at this time.
0 commit comments