File tree Expand file tree Collapse file tree 2 files changed +31
-31
lines changed Expand file tree Collapse file tree 2 files changed +31
-31
lines changed Original file line number Diff line number Diff line change 1
1
name : Default CI
2
- on :
2
+ on :
3
3
push :
4
4
branches :
5
- - ' master'
5
+ - master
6
6
pull_request :
7
7
branches :
8
8
- ' **'
11
11
runs-on : ubuntu-latest
12
12
strategy :
13
13
matrix :
14
- node : [12, 14, 16]
14
+ node : [16]
15
15
steps :
16
16
- name : Checkout
17
17
uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -2,36 +2,36 @@ name: Release CI
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - master
6
6
jobs :
7
7
release :
8
8
name : Release
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - name : Checkout
12
- uses : actions/checkout@v2
13
- with :
14
- fetch-depth : 0
15
- - name : Setup Node.js
16
- uses : actions/setup-node@v2
17
- with :
18
- node-version : 12
19
- - name : Install dependencies
20
- run : npm ci
21
- - name : Validate package-lock.json changes
22
- run : make validate-no-uncommitted-package-lock-changes
23
- - name : Lint
24
- run : npm run lint
25
- - name : Test
26
- run : npm run test
27
- - name : i18n_extract
28
- run : npm run i18n_extract
29
- - name : Coverage
30
- uses : codecov/codecov-action@v2
31
- - name : Build
32
- run : npm run build
33
- - name : Release
34
- env :
35
- GITHUB_TOKEN : ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
36
- NPM_TOKEN : ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
37
- run : npx semantic-release
11
+ - name : Checkout
12
+ uses : actions/checkout@v2
13
+ with :
14
+ fetch-depth : 0
15
+ - name : Setup Node.js
16
+ uses : actions/setup-node@v2
17
+ with :
18
+ node-version : 16
19
+ - name : Install dependencies
20
+ run : npm ci
21
+ - name : Validate package-lock.json changes
22
+ run : make validate-no-uncommitted-package-lock-changes
23
+ - name : Lint
24
+ run : npm run lint
25
+ - name : Test
26
+ run : npm run test
27
+ - name : i18n_extract
28
+ run : npm run i18n_extract
29
+ - name : Coverage
30
+ uses : codecov/codecov-action@v2
31
+ - name : Build
32
+ run : npm run build
33
+ - name : Release
34
+ env :
35
+ GITHUB_TOKEN : ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
36
+ NPM_TOKEN : ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
37
+ run : npx semantic-release
You can’t perform that action at this time.
0 commit comments