Skip to content

Commit 1f88bad

Browse files
Publish workflow branch fix
1 parent 86f2280 commit 1f88bad

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ jobs:
1818

1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version: 22
21+
node-version: 20
2222
# Optionally enable caching for pnpm:
2323
# cache: 'pnpm'
2424

25-
- name: Install pnpm
26-
run: npm install -g pnpm
25+
- name: Setup pnpm
26+
uses: pnpm/action-setup@v2
27+
with:
28+
version: 9
2729

2830
- name: Install dependencies
2931
run: pnpm install
@@ -49,12 +51,14 @@ jobs:
4951

5052
- uses: actions/setup-node@v4
5153
with:
52-
node-version: 22
54+
node-version: 20
5355
# Optionally enable caching for pnpm:
54-
cache: "pnpm"
56+
# cache: "pnpm"
5557

56-
- name: Install pnpm
57-
run: npm install -g pnpm
58+
- name: Setup pnpm
59+
uses: pnpm/action-setup@v2
60+
with:
61+
version: 9
5862

5963
- name: Install dependencies
6064
run: pnpm install

0 commit comments

Comments
 (0)