File tree 2 files changed +17
-68
lines changed
2 files changed +17
-68
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
name : build
2
2
3
- on : [" push" ]
3
+ on : [push]
4
4
5
5
jobs :
6
- lint :
7
- runs-on : ubuntu-latest
8
- steps :
9
- - uses : actions/checkout@v2
10
- - name : Use Node.js 14
11
- uses : actions/setup-node@v2
12
- with :
13
- node-version : 14
14
- - name : yarn install
15
- run : |
16
- yarn install
17
- - name : lint
18
- run : |
19
- npm run lint
20
-
21
6
build :
22
- runs-on : ubuntu-latest
23
- steps :
24
- - uses : actions/checkout@v2
25
- - name : Use Node.js 14
26
- uses : actions/setup-node@v2
27
- with :
28
- node-version : 14
29
- - name : yarn install
30
- run : |
31
- yarn install
32
- - name : build
33
- run : |
34
- npm run build
7
+ runs-on : macOS-latest
35
8
36
- test :
37
- runs-on : macos-latest
38
9
steps :
39
- - uses : actions/checkout@v2
40
- - name : Use Node.js 14
41
- uses : actions/setup-node@v2
10
+ - name : Checkout
11
+
12
+
13
+ - name : Setup Node.js environment
14
+
42
15
with :
43
- node-version : 14
44
- - name : yarn install
45
- run : |
46
- yarn install
47
- - name : test
16
+ node-version : ' 14'
17
+
18
+ - name : Run CI
48
19
run : |
20
+ npm install
21
+ npm run lint
22
+ npm run build
49
23
npm run coverage
50
- env :
51
- CI : true
52
- - name : Coveralls
24
+
25
+ - name : Update coverall
26
+ if : ${{ success() }}
53
27
uses : coverallsapp/github-action@master
54
28
with :
55
- github-token : ${{ secrets.GITHUB_TOKEN }}
29
+ github-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments