File tree Expand file tree Collapse file tree 1 file changed +23
-14
lines changed Expand file tree Collapse file tree 1 file changed +23
-14
lines changed Original file line number Diff line number Diff line change
1
+ # on:
2
+ # push:
3
+ # branches: [main]
4
+ # pull_request:
5
+ # branches: [main]
6
+
1
7
name : Build & test CI
2
8
3
9
on :
4
10
push :
5
- branches : [main]
11
+ branches :
12
+ - main
6
13
pull_request :
7
- branches : [main]
14
+ branches :
15
+ - main
8
16
9
17
jobs :
10
18
build :
11
19
runs-on : ubuntu-latest
12
20
13
21
steps :
14
- - uses : actions/checkout@v2
22
+ - name : Checkout repository
23
+ uses : actions/checkout@v2
15
24
with :
16
25
fetch-depth : 0
17
26
18
- - name : Install dependencies
19
- run : yarn
27
+ - name : Install dependencies
28
+ run : yarn install
29
+
30
+ - name : Build packages
31
+ run : yarn build
20
32
21
- - name : Build packages
22
- run : yarn build
33
+ - name : Automated test
34
+ run : yarn test
23
35
24
- - name : Automated test
25
- run : yarn test
26
-
27
- - name : Visual regression tests
28
- env :
29
- CHROMATIC_PROJECT_TOKEN : ${{ secrets.chpt_a1073d7bf2439e5 }}
30
- run : yarn test:chromatic
36
+ - name : Run Chromatic
37
+ run : yarn test:chromatic
38
+ env :
39
+ CHROMATIC_PROJECT_TOKEN : ${{ secrets.chpt_a1073d7bf2439e5 }}
You can’t perform that action at this time.
0 commit comments