File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,32 @@ jobs:
31
31
node-version : ' 18'
32
32
cache : ' pnpm'
33
33
34
+ - name : Cache Browsers
35
+ uses : actions/cache@v3
36
+ id : browsers-cache
37
+ with :
38
+ path : |
39
+ ~/.cache/ms-playwright
40
+ ~/.cache/Cypress
41
+ key : ${{ runner.os }}-browsers-${{ hashFiles('**/pnpm-lock.yaml') }}
42
+
43
+ - name : Set Playwright cache status
44
+ run : echo "PLAYWRIGHT_CACHE_HIT=${{ steps.browsers-cache.outputs.cache-hit }}" >> $GITHUB_ENV
45
+
34
46
- name : Set Nx SHA
35
47
uses : nrwl/nx-set-shas@v3
36
48
37
49
- name : Install Dependencies
38
50
run : pnpm install
39
51
52
+ - name : Install Cypress
53
+ run : npx cypress install
54
+
55
+ - name : Warm Nx Cache
56
+ run : npx nx run-many --targets=build --projects=tag:type:pkg --parallel=4 --skip-nx-cache
57
+
40
58
- name : Run Affected Build
41
- run : npx nx run-many --targets=build --projects=tag:type:pkg --skip-nx-cache
59
+ run : npx nx run-many --targets=build --projects=tag:type:pkg --parallel=4 -- skip-nx-cache
42
60
43
61
- name : Configuration xvfb
44
62
shell : bash
You can’t perform that action at this time.
0 commit comments