Skip to content

Commit 131c74a

Browse files
committed
meta: Switched to pnpm's official action
1 parent 8eaa658 commit 131c74a

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/publish.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
strategy:
1919
matrix:
2020
include:
21-
# - os: ubuntu-latest
22-
# platform: linux
23-
- os: windows-latest
24-
platform: win32
21+
- os: ubuntu-latest
22+
platform: linux
23+
# - os: windows-latest
24+
# platform: win32
2525
# - os: macos-latest
2626
# platform: darwin
2727
steps:
@@ -32,10 +32,8 @@ jobs:
3232
uses: actions/setup-node@v4
3333
with:
3434
node-version: "24"
35-
cache: "pnpm"
3635

37-
- name: Enable corepack (pnpm)
38-
run: corepack enable pnpm
36+
- uses: pnpm/action-setup@v4
3937

4038
- name: Install dependencies
4139
run: pnpm install --frozen-lockfile
@@ -72,10 +70,8 @@ jobs:
7270
uses: actions/setup-node@v4
7371
with:
7472
node-version: "24"
75-
cache: "pnpm"
7673

77-
- name: Enable corepack (pnpm)
78-
run: corepack enable pnpm
74+
- uses: pnpm/action-setup@v4
7975

8076
- name: Run tests
8177
run: pnpm test

0 commit comments

Comments
 (0)