This repository was archived by the owner on Jun 27, 2023. It is now read-only.
File tree 3 files changed +27
-11
lines changed
3 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 1
1
name : ci
2
2
3
3
on :
4
- push :
5
- branches :
6
- - master
7
4
pull_request :
8
5
branches :
9
6
- master
10
7
- dev
11
8
12
9
jobs :
13
10
test-and-release :
14
- name : Run tests and release
11
+ name : Run tests
15
12
runs-on : ubuntu-18.04
16
13
steps :
17
14
- name : Checkout
24
21
run : npm ci
25
22
- name : Run tests
26
23
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 : Run test and 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 20
20
"lint" : " vue-cli-service lint" ,
21
21
"test:watch" : " vue-cli-service test:unit --verbose --no-cache --watchAll" ,
22
22
"test" : " vue-cli-service test:unit" ,
23
- "publish" : " npm run build && npm publish --access public" ,
24
23
"docs:dev" : " vuepress dev docs" ,
25
24
"docs:build" : " vuepress build docs" ,
26
25
"semantic-release" : " semantic-release"
You can’t perform that action at this time.
0 commit comments