File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,14 @@ jobs:
26
26
node-version-file : ' .nvmrc'
27
27
- uses : actions/cache@v4
28
28
with :
29
- path : ~/.npm
30
- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
29
+ path : |
30
+ ~/.npm
31
+ ~/.cache/ms-playwright
32
+ key : ${{ runner.os }}-node-playwright-${{ hashFiles('**/package-lock.json') }}
31
33
restore-keys : |
32
- ${{ runner.os }}-node-
34
+ ${{ runner.os }}-node-playwright-
35
+ ${{ runner.os }}-node-
36
+
33
37
- run : npm ci
34
38
- run : npm run build
35
39
- run : npm run lint
@@ -48,10 +52,14 @@ jobs:
48
52
node-version-file : ' .nvmrc'
49
53
- uses : actions/cache@v4
50
54
with :
51
- path : ~/.npm
52
- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
53
- restore-keys : |
54
- ${{ runner.os }}-node-
55
+ path : |
56
+ ~/.npm
57
+ ~/.cache/ms-playwright
58
+ key : ${{ runner.os }}-node-playwright-${{ hashFiles('**/package-lock.json') }}
59
+ restore-keys : |
60
+ ${{ runner.os }}-node-playwright-
61
+ ${{ runner.os }}-node-
62
+
55
63
- name : Install dependencies
56
64
run : |
57
65
npm install
You can’t perform that action at this time.
0 commit comments