Skip to content

Commit 6de4928

Browse files
committed
build: enable side-effects-cache for pnpm
1 parent dec99f5 commit 6de4928

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
~/AppData/Local/pnpm/store/
4242
key: "cache-OS:${{ matrix.os }}-Node:${{ matrix.node }}-${{ matrix.pnpm }}-${{ hashFiles('./.npmrc') }}-${{ hashFiles('./package.json') }}"
4343
restore-keys: |
44-
"cache-OS:${{ matrix.os }}-Node:${{ matrix.node }}-${{ matrix.pnpm }}"
44+
"cache-OS:${{ matrix.os }}-Node:${{ matrix.node }}-${{ matrix.pnpm }}-"
4545
4646
- uses: actions/setup-node@v3
4747
with:

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ public-hoist-pattern[]=*
22
package-lock=false
33
lockfile=true
44
prefer-frozen-lockfile=true
5-
strict-peer-dependencies=false
5+
strict-peer-dependencies=false
6+
side-effects-cache=true

0 commit comments

Comments
 (0)