Skip to content

Commit 03471d4

Browse files
committed
fix pnpm cache
1 parent acda9ed commit 03471d4

File tree

4 files changed

+25
-10
lines changed

4 files changed

+25
-10
lines changed

.github/workflows/applications.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,11 @@ jobs:
4949
cache: 'pnpm'
5050
cache-dependency-path: pnpm-lock.yaml
5151

52-
- name: Enable Corepack
53-
run: corepack enable
52+
- name: Set up pnpm
53+
uses: pnpm/action-setup@v4
54+
with:
55+
version: 9.12.0
56+
run_install: false
5457

5558
- name: Install dependencies
5659
env:
@@ -119,8 +122,11 @@ jobs:
119122
cache: 'pnpm'
120123
cache-dependency-path: pnpm-lock.yaml
121124

122-
- name: Enable Corepack
123-
run: corepack enable
125+
- name: Set up pnpm
126+
uses: pnpm/action-setup@v4
127+
with:
128+
version: 9.12.0
129+
run_install: false
124130

125131
- name: Run pnpm install
126132
env:

.github/workflows/lint.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ jobs:
2323
cache: 'pnpm'
2424
cache-dependency-path: pnpm-lock.yaml
2525

26-
- name: Enable Corepack
27-
run: corepack enable
26+
- name: Set up pnpm
27+
uses: pnpm/action-setup@v4
28+
with:
29+
version: 9.12.0
30+
run_install: false
2831

2932
- name: Install dependencies
3033
env:

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ jobs:
3030
cache: 'pnpm'
3131
cache-dependency-path: pnpm-lock.yaml
3232

33-
- name: Enable Corepack
34-
run: corepack enable
33+
- name: Set up pnpm
34+
uses: pnpm/action-setup@v4
35+
with:
36+
version: 9.12.0
37+
run_install: false
3538

3639
- name: Install dependencies
3740
env:

.github/workflows/themebuilder.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ jobs:
2525
cache: 'pnpm'
2626
cache-dependency-path: pnpm-lock.yaml
2727

28-
- name: Enable Corepack
29-
run: corepack enable
28+
- name: Set up pnpm
29+
uses: pnpm/action-setup@v4
30+
with:
31+
version: 9.12.0
32+
run_install: false
3033

3134
- name: Install dependencies
3235
env:

0 commit comments

Comments
 (0)