5
5
name : Build
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - uses : actions/checkout@v2
9
- - uses : actions/setup-node@v2
10
- with :
11
- node-version : ' 16.x'
12
- - name : Cache node modules
8
+ - uses : actions/checkout@v2
9
+
10
+ - uses : actions/setup-node@v2
11
+ with :
12
+ node-version : " 16.x"
13
+
14
+ - name : Cache node modules
13
15
uses : actions/cache@v2
14
16
env :
15
17
cache-name : cache-node-modules
@@ -21,27 +23,27 @@ jobs:
21
23
${{ runner.os }}-build-${{ env.cache-name }}-
22
24
${{ runner.os }}-build-
23
25
${{ runner.os }}-
24
-
25
- - name : Install Dependencies
26
+
27
+ - name : Install Dependencies
26
28
run : npm run install-lerna
27
29
28
- - name : Bootstrap packages
29
- run : npm run bootstrap
30
-
31
- - name : Build packages
32
- run : npm run build
33
- env :
34
- CI : true
35
-
36
- - name : Install Playwright
37
- run : npx playwright install --with-deps
38
-
39
- - name : Run Playwright tests
40
- run : npx playwright test
41
-
42
- - uses : actions/upload-artifact@v2
43
- if : always()
44
- with :
45
- name : playwright-report
46
- path : playwright-report/
47
- retention-days : 30
30
+ - name : Bootstrap packages
31
+ run : npm run bootstrap
32
+
33
+ - name : Build packages
34
+ run : npm run build
35
+ env :
36
+ CI : true
37
+
38
+ - name : Install Playwright
39
+ run : npx playwright install --with-deps
40
+
41
+ - name : Run Playwright tests
42
+ run : npx playwright test
43
+
44
+ - uses : actions/upload-artifact@v2
45
+ if : always()
46
+ with :
47
+ name : playwright-report
48
+ path : playwright-report/
49
+ retention-days : 30
0 commit comments