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:
25
25
- name : Setup Node.js
26
26
uses : actions/setup-node@v3
27
27
with :
28
- node-version : ' lts/*'
28
+ node-version : 16
29
+ registry-url : https://registry.npmjs.org/
29
30
30
31
- name : Install dependencies
31
- run : npm ci
32
+ run : npm install
32
33
33
34
- name : Test
34
35
run : npm test
35
36
36
- - name : Release 🚀
37
+ - name : publish npm
38
+ run : npm publish
37
39
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 55
55
"husky" : " ^7.0.4" ,
56
56
"jest" : " ^27.5.1" ,
57
57
"prettier" : " ^2.6.2" ,
58
- "pretty-quick" : " ^3.1.3" ,
59
- "semantic-release" : " ^19.0.3"
58
+ "pretty-quick" : " ^3.1.3"
60
59
},
61
60
"husky" : {
62
61
"hooks" : {
You can’t perform that action at this time.
0 commit comments