File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 node-version : ${{ matrix.node-version }}
2323 - run : npm install
2424 - run : npm test
25- # - name: Coveralls
26- # uses: coverallsapp/github-action@master
27- # with:
28- # github-token: ${{ secrets.GITHUB_TOKEN }}
25+ - name : Coveralls
26+ uses : coverallsapp/github-action@master
27+ with :
28+ github-token : ${{ secrets.GITHUB_TOKEN }}
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 11{
22 "name" : " ajv-cli" ,
33 "version" : " 3.3.0" ,
4- "description" : " A command line interface for epoberezkin/ajv JSON schema validator" ,
4+ "description" : " Command line interface for Ajv JSON schema validator" ,
55 "scripts" : {
66 "build" : " rm -rf dist && tsc" ,
77 "prepublish" : " npm run build" ,
You can’t perform that action at this time.
0 commit comments