Skip to content

Commit 831ed31

Browse files
committed
chore: update CI and release workflows to use Node.js 22 and pnpm 10, and change test command to test:run
1 parent 73e38bd commit 831ed31

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: pnpm/action-setup@v4
1515
with:
16-
version: 9
16+
version: 10
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 20
19+
node-version: 22
2020
cache: pnpm
2121
- run: pnpm install
2222
- run: pnpm lint
23-
- run: pnpm test
23+
- run: pnpm test:run

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: npm run build
3939

4040
- name: Run tests
41-
run: npm run test
41+
run: npm run test:run
4242

4343
- name: Release
4444
env:

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
"test": "vitest",
4141
"test:ui": "vitest --ui",
4242
"test:run": "vitest run",
43-
"prepublishOnly": "npm run build",
44-
"postpublish": "git push --follow-tags && npm run deploy",
4543
"serve": "vite preview"
4644
},
4745
"repository": {

0 commit comments

Comments
 (0)