Skip to content

Commit 14dad21

Browse files
int128Copilot
andcommitted
Use corepack for pnpm
Co-authored-by: Copilot <copilot@github.com>
1 parent 53bcb05 commit 14dad21

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
2222
with:
2323
node-version-file: .node-version
24-
package-manager-cache: false
25-
- run: npm install -g pnpm@latest-10
24+
- run: npm install -g corepack
25+
- run: corepack enable
2626
- run: pnpm i
2727
- run: pnpm build
2828
- uses: int128/release-typescript-action@514bf658b30e4ffb0fa2d7b3f125c6805364edfe # v1.59.0

.github/workflows/ts.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
2828
with:
2929
node-version-file: .node-version
30-
package-manager-cache: false
31-
- run: npm install -g pnpm@latest-10
30+
- run: npm install -g corepack
31+
- run: corepack enable
3232
- run: pnpm i
3333
- run: pnpm run test
3434
- run: pnpm run build
@@ -49,8 +49,8 @@ jobs:
4949
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
5050
with:
5151
node-version-file: .node-version
52-
package-manager-cache: false
53-
- run: npm install -g pnpm@latest-10
52+
- run: npm install -g corepack
53+
- run: corepack enable
5454
- run: pnpm i
5555
- run: pnpm run check
5656
- uses: int128/update-generated-files-action@9a687cd12f9425997aba80e89b623e089a62b9d8 # v2.90.0

0 commit comments

Comments
 (0)