Skip to content

Commit 3b103c8

Browse files
committed
Help setup-node to find package-lock.json file
1 parent cf68a90 commit 3b103c8

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
with:
3939
node-version: lts/*
4040
cache: 'npm'
41+
cache-dependency-path: spock-website/package-lock.json
4142
- name: Install dependencies
4243
run: npm ci
4344
- name: Build

.github/workflows/update-reference-screenshots.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
with:
2424
node-version: lts/*
2525
cache: 'npm'
26+
cache-dependency-path: spock-website/package-lock.json
2627

2728
- name: Install dependencies
2829
run: npm ci

.github/workflows/verify.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
with:
2929
node-version: lts/*
3030
cache: 'npm'
31+
cache-dependency-path: spock-website/package-lock.json
3132

3233
- name: Install dependencies
3334
run: npm ci
@@ -57,6 +58,7 @@ jobs:
5758
with:
5859
node-version: lts/*
5960
cache: 'npm'
61+
cache-dependency-path: spock-website/package-lock.json
6062

6163
- name: Install dependencies
6264
run: npm ci

0 commit comments

Comments
 (0)