Skip to content

Commit 0df7b8e

Browse files
committed
fix workflows
1 parent d1eb52c commit 0df7b8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/push-to-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
with:
1616
node-version: '20.x'
1717
registry-url: 'https://registry.npmjs.org'
18-
cache: 'pnpm'
1918
- run: corepack enable
19+
- run: corepack prepare pnpm@latest --activate
2020
- run: pnpm install --frozen-lockfile
2121
- run: pnpm build # Build TypeScript files
2222
- run: pnpm publish --provenance --access public

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
node-version: '20.x'
1919
registry-url: 'https://registry.npmjs.org'
20-
cache: 'pnpm'
2120
- run: corepack enable
21+
- run: corepack prepare pnpm@latest --activate
2222
- run: pnpm install --frozen-lockfile
2323
- run: pnpm build # Build TypeScript files

0 commit comments

Comments
 (0)