File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -21,22 +21,36 @@ jobs:
21
21
steps :
22
22
- name : Extract Week Number
23
23
run : echo "WEEK_NUMBER=$(date +%W)" >> $GITHUB_ENV
24
+
24
25
- name : Install Firefox
25
26
if : ${{ matrix.browser == 'firefox' }}
26
27
run : brew install --cask firefox
28
+
27
29
- name : Checkout Branch
28
30
uses : actions/checkout@v4
31
+
32
+ - name : Cache node modules
33
+ uses : actions/cache@v4
34
+ with :
35
+ # npm cache files are stored in `~/.npm` on Linux/macOS
36
+ path : ~/.npm
37
+ key : ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
38
+ restore-keys : ${{ runner.os }}-build-node-modules-
39
+
29
40
- name : Setup Node
30
41
uses : actions/setup-node@v4
31
42
with :
32
43
node-version : ' 23.x'
44
+
33
45
- name : Install Node Packages
34
46
run : npm ci
47
+
35
48
- name : Cache jsvu Binaries
36
49
uses : actions/cache@v4
37
50
with :
38
51
path : ~/.jsvu
39
- key : ${{ runner.os }}-build-jsvu-cache-${{ matrix.browser }}-${{ env.WEEK_NUMBER }}
52
+ key : ${{ runner.os }}-jsvu-${{ matrix.browser }}-week-${{ env.WEEK_NUMBER }}
53
+
40
54
- name : Run Tests
41
55
run : |
42
56
echo "Running in $BROWSER"
You can’t perform that action at this time.
0 commit comments