File tree Expand file tree Collapse file tree 2 files changed +56
-49
lines changed Expand file tree Collapse file tree 2 files changed +56
-49
lines changed Original file line number Diff line number Diff line change
1
+
2
+ name : Checks
3
+
4
+ on :
5
+ push :
6
+ branches : [ main ]
7
+ pull_request :
8
+ branches : [ main ]
9
+
10
+ jobs :
11
+ tests :
12
+ name : Unit tests
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v2
18
+ - name : Setup Node.js
19
+ uses : actions/setup-node@v1
20
+ with :
21
+ node-version : 14
22
+ - name : Install dependencies
23
+ run : yarn install --frozen-lockfile --non-interactive
24
+ - name : Unit tests
25
+ run : yarn test -- --ci
26
+ lint :
27
+ name : Lint
28
+ runs-on : ubuntu-latest
29
+
30
+ steps :
31
+ - name : Checkout
32
+ uses : actions/checkout@v2
33
+ - name : Setup Node.js
34
+ uses : actions/setup-node@v1
35
+ with :
36
+ node-version : 14
37
+ - name : Install dependencies
38
+ run : yarn install --frozen-lockfile --non-interactive
39
+ - name : Lint
40
+ run : yarn lint
41
+ website :
42
+ name : Test build website
43
+ if : ${{ github.event.issue.pull_request }}
44
+ runs-on : ubuntu-latest
45
+
46
+ steps :
47
+ - name : Checkout
48
+ uses : actions/checkout@v2
49
+ - name : Setup Node.js
50
+ uses : actions/setup-node@v1
51
+ with :
52
+ node-version : 14
53
+ - name : Install dependencies
54
+ run : yarn install --frozen-lockfile --non-interactive
55
+ - name : Build website
56
+ run : yarn website
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments