Skip to content

Commit 4c675c4

Browse files
committed
update workflows
1 parent b3d3153 commit 4c675c4

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/pkg.pr.new.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,22 @@ jobs:
66
runs-on: ubuntu-latest
77

88
steps:
9-
- name: Checkout code
9+
- name: Checkout
1010
uses: actions/checkout@v4
1111

12-
- run: corepack enable
13-
- uses: actions/setup-node@v4
12+
- name: Install pnpm
13+
uses: pnpm/[email protected]
14+
with:
15+
version: 8
16+
17+
- name: Set node version to 20
18+
uses: actions/setup-node@v4
1419
with:
1520
node-version: 20
21+
registry-url: https://registry.npmjs.org/
1622
cache: "pnpm"
1723

18-
- name: Install dependencies
24+
- name: Install deps
1925
run: pnpm install
2026

21-
- name: Build
22-
run: pnpm build
23-
2427
- run: pnpx pkg-pr-new publish

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"description": "",
55
"main": "index.js",
66
"type": "module",
7-
"packageManager": "[email protected]",
87
"scripts": {
98
"test": "vitest"
109
},

0 commit comments

Comments
 (0)