Skip to content

Commit f8bd1e4

Browse files
committed
chore(ci): add cache-dependency-path to the impit-node tests
1 parent 2e8e853 commit f8bd1e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/node-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
with:
106106
node-version: 20
107107
cache: yarn
108+
cache-dependency-path: impit-node/yarn.lock
108109
architecture: x86
109110
- name: Build in docker
110111
uses: addnab/docker-run-action@v3
@@ -146,6 +147,7 @@ jobs:
146147
with:
147148
node-version: ${{ matrix.node }}
148149
cache: yarn
150+
cache-dependency-path: impit-node/yarn.lock
149151
architecture: x64
150152
- name: Install dependencies
151153
run: yarn --cwd impit-node install
@@ -177,6 +179,7 @@ jobs:
177179
with:
178180
node-version: ${{ matrix.node }}
179181
cache: yarn
182+
cache-dependency-path: impit-node/yarn.lock
180183
- name: Install dependencies
181184
run: yarn --cwd impit-node install
182185
- name: Download artifacts
@@ -207,6 +210,7 @@ jobs:
207210
with:
208211
node-version: ${{ matrix.node }}
209212
cache: yarn
213+
cache-dependency-path: impit-node/yarn.lock
210214
- name: Install dependencies
211215
run: |
212216
yarn --cwd impit-node config set supportedArchitectures.libc "musl"
@@ -235,6 +239,7 @@ jobs:
235239
with:
236240
node-version: 20
237241
cache: yarn
242+
cache-dependency-path: impit-node/yarn.lock
238243
- name: Install dependencies
239244
run: yarn --cwd impit-node install
240245
- name: Download all artifacts

0 commit comments

Comments
 (0)