File tree 2 files changed +22
-3
lines changed
2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : publish
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ publish-npm :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-node@v1
13
+ with :
14
+ node-version : 14
15
+ registry-url : https://registry.npmjs.org/
16
+ - run : npm install
17
+ - run : npm test
18
+ - name : Publish beta version to npm
19
+ if : " github.event.release.prerelease"
20
+ run : npm publish --tag beta
21
+ env :
22
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 48
48
"ajv" : " ^7.0.0-rc.1" ,
49
49
"ajv-formats" : " ^0.3.4" ,
50
50
"chai" : " ^4.2.0" ,
51
- "dot" : " ^1.1.1" ,
52
51
"eslint" : " ^7.2.0" ,
53
52
"eslint-config-prettier" : " ^6.13.0" ,
54
- "glob" : " ^7.1.3" ,
55
53
"husky" : " ^4.3.0" ,
56
54
"jest" : " ^26.5.3" ,
57
- "js-beautify" : " ^1.8.9" ,
58
55
"json-schema-test" : " ^2.0.0" ,
59
56
"lint-staged" : " ^10.4.2" ,
60
57
"prettier" : " ^2.1.2" ,
You can’t perform that action at this time.
0 commit comments