File tree Expand file tree Collapse file tree 2 files changed +42
-2
lines changed Expand file tree Collapse file tree 2 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 9
9
with :
10
10
node-version : ' 16'
11
11
12
- - name : Cache dependencies
12
+ - name : Cache deps
13
13
id : yarn-cache
14
14
uses : actions/cache@v3
15
15
with :
16
16
path : ./node_modules
17
17
key : ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }}
18
18
19
- - name : Install dependencies
19
+ - name : Install deps
20
20
if : steps.yarn-cache.outputs.cache-hit != 'true'
21
21
run : yarn install --frozen-lockfile
22
22
shell : bash
23
+
24
+ - name : Cache website deps
25
+ id : yarn-cache-website
26
+ uses : actions/cache@v3
27
+ with :
28
+ path : ./website/node_modules
29
+ key : ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }}-website
30
+
31
+ - name : Install website deps
32
+ if : steps.yarn-cache-website.outputs.cache-hit != 'true'
33
+ run : yarn --cwd website install --frozen-lockfile
34
+ shell : bash
Original file line number Diff line number Diff line change 44
44
- name : Typecheck
45
45
run : yarn typecheck
46
46
47
+ flow :
48
+ needs : [install-cached-deps]
49
+ runs-on : ubuntu-latest
50
+ name : Flow
51
+ steps :
52
+ - name : Checkout
53
+ uses : actions/checkout@v3
54
+
55
+ - name : Setup Node.js and deps
56
+ uses : ./.github/actions/setup-node-deps
57
+
58
+ - name : Flow
59
+ run : yarn flow
60
+
47
61
test :
48
62
needs : [install-cached-deps]
49
63
runs-on : ubuntu-latest
71
85
72
86
- name : Test React 17
73
87
run : yarn test:ci:react:17
88
+
89
+ test-website :
90
+ needs : [install-cached-deps]
91
+ runs-on : ubuntu-latest
92
+ name : Test Website
93
+ steps :
94
+ - name : Checkout
95
+ uses : actions/checkout@v3
96
+
97
+ - name : Setup Node.js and deps
98
+ uses : ./.github/actions/setup-node-deps
99
+
100
+ - name : Build website
101
+ run : yarn --cwd website build
You can’t perform that action at this time.
0 commit comments