File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 14
14
with :
15
15
node-version : 16.x
16
16
17
+ # doesn't seem to cause significant speed up, probably because it still needs to install deps
18
+ # - name: cache playwright
19
+ # uses: actions/cache@v2
20
+ # with:
21
+ # path: ~/.cache/ms-playwright
22
+ # key: pw-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
23
+
24
+ # doesn't seem to cause significant speed up, maybe not right conf?
25
+ # - name: cache lerna
26
+ # uses: actions/cache@v2
27
+ # with:
28
+ # path: |
29
+ # node_modules
30
+ # packages/**/node_modules
31
+ # key: lerna-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
32
+
17
33
- name : Cache node modules
18
34
uses : actions/cache@v2
19
35
env :
46
62
run : npm run bootstrap
47
63
48
64
- name : Wait for Matrix
49
- uses : nev7n/wait_for_response@v1
50
- with :
51
- url : " http://localhost:8888/_matrix/static/"
52
- responseCode : 200
53
- timeout : 20000
54
- interval : 500
65
+ run : npx wait-on http://localhost:8888/_matrix/static/
55
66
56
67
- name : Build packages
57
68
run : npm run build
Original file line number Diff line number Diff line change 15
15
"bootstrap" : " lerna bootstrap --hoist --ci && patch-package" ,
16
16
"install-new-packages" : " lerna bootstrap --hoist && patch-package" ,
17
17
"playwright" : " lerna run playwright" ,
18
- "install-playwright" : " lerna run install-playwright " ,
18
+ "install-playwright" : " npx playwright install --with-deps " ,
19
19
"test" : " jest --coverage=true --config=jest.config.js && lerna run test-no-watch" ,
20
20
"build" : " lerna run build --concurrency 1" ,
21
21
"build-react" : " lerna run build-react --concurrency 1 --stream" ,
You can’t perform that action at this time.
0 commit comments