File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 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 4848 "ajv" : " ^7.0.0-rc.1" ,
4949 "ajv-formats" : " ^0.3.4" ,
5050 "chai" : " ^4.2.0" ,
51- "dot" : " ^1.1.1" ,
5251 "eslint" : " ^7.2.0" ,
5352 "eslint-config-prettier" : " ^6.13.0" ,
54- "glob" : " ^7.1.3" ,
5553 "husky" : " ^4.3.0" ,
5654 "jest" : " ^26.5.3" ,
57- "js-beautify" : " ^1.8.9" ,
5855 "json-schema-test" : " ^2.0.0" ,
5956 "lint-staged" : " ^10.4.2" ,
6057 "prettier" : " ^2.1.2" ,
You can’t perform that action at this time.
0 commit comments