File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -25,16 +25,26 @@ jobs:
2525 - name : Setup Node.js
2626 uses : actions/setup-node@v3
2727 with :
28- node-version : ' lts/*'
28+ node-version : 16
29+ registry-url : https://registry.npmjs.org/
2930
3031 - name : Install dependencies
31- run : npm ci
32+ run : npm install
3233
3334 - name : Test
3435 run : npm test
3536
36- - name : Release 🚀
37+ - name : publish npm
38+ run : npm publish
3739 env :
38- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
39- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40- run : npx semantic-release
40+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
41+
42+ - name : Publish GHP
43+ - uses : actions/setup-node@v3
44+ with :
45+ node-version : 16
46+ registry-url : https://npm.pkg.github.com/
47+ - run : npm install
48+ - run : npm publish
49+ env :
50+ NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 5555 "husky" : " ^7.0.4" ,
5656 "jest" : " ^27.5.1" ,
5757 "prettier" : " ^2.6.2" ,
58- "pretty-quick" : " ^3.1.3" ,
59- "semantic-release" : " ^19.0.3"
58+ "pretty-quick" : " ^3.1.3"
6059 },
6160 "husky" : {
6261 "hooks" : {
You can’t perform that action at this time.
0 commit comments