Skip to content

Commit 548781c

Browse files
committed
chore: update pnpm setup to utilize cache correctly
1 parent 30d3aba commit 548781c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,15 @@ jobs:
3333
uses: pnpm/action-setup@v4
3434
with:
3535
version: 10
36-
cache: true
3736

3837
# Configure the Node.js runtime using the version
3938
# specified in the .nvmrc file.
4039
- name: Setup Node.js
4140
uses: actions/setup-node@v4
4241
with:
4342
node-version-file: ".nvmrc"
43+
cache: "pnpm"
44+
cache-dependency-path: "pnpm-lock.yaml"
4445

4546
# Install dependencies exactly as defined in pnpm-lock.yaml.
4647
# The workflow will fail if the lockfile and package.json

0 commit comments

Comments
 (0)