This repository was archived by the owner on Jun 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +26
-10
lines changed Expand file tree Collapse file tree 3 files changed +26
-10
lines changed Original file line number Diff line number Diff line change 11name : ci
22
33on :
4- push :
5- branches :
6- - master
74 pull_request :
85 branches :
96 - master
2421 run : npm ci
2522 - name : Run tests
2623 run : npm run test
27- - name : Release
28- env :
29- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
31- CI : true
32- run : npm run semantic-release
Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - master
6+ jobs :
7+ release :
8+ name : Release
9+ runs-on : ubuntu-18.04
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v1
13+ - name : Setup Node.js
14+ uses : actions/setup-node@v1
15+ with :
16+ node-version : 12
17+ - name : Install dependencies
18+ run : npm ci
19+ - name : Run tests
20+ run : npm run test
21+ - name : Release
22+ env :
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
25+ CI : true
26+ run : npm run semantic-release
Original file line number Diff line number Diff line change 2020 "lint" : " vue-cli-service lint" ,
2121 "test:watch" : " vue-cli-service test:unit --verbose --no-cache --watchAll" ,
2222 "test" : " vue-cli-service test:unit" ,
23- "publish" : " npm run build && npm publish --access public" ,
2423 "docs:dev" : " vuepress dev docs" ,
2524 "docs:build" : " vuepress build docs" ,
2625 "semantic-release" : " semantic-release"
You can’t perform that action at this time.
0 commit comments