Skip to content

Commit 9f5568d

Browse files
committed
ci: use Corepack in publish/pages to align PNPM with packageManager
1 parent fa4c7b1 commit 9f5568d

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21-
- name: Setup PNPM
22-
uses: pnpm/action-setup@v4
23-
with:
24-
version: 9
21+
- name: Enable Corepack (PNPM from packageManager)
22+
run: |
23+
corepack enable
2524
2625
- name: Setup node
2726
uses: actions/setup-node@v4

.github/workflows/nodejs-publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21-
- name: Setup PNPM
22-
uses: pnpm/action-setup@v4
23-
with:
24-
version: 9
21+
- name: Enable Corepack (PNPM from packageManager)
22+
run: |
23+
corepack enable
2524
2625
- name: Setup Node
2726
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)