Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit b465d2b

Browse files
ci: enable tests
1 parent 47119d3 commit b465d2b

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,27 @@ jobs:
4343

4444
- name: Typecheck
4545
run: pnpm run test:types
46+
47+
test:
48+
runs-on: ${{ matrix.os }}
49+
50+
strategy:
51+
matrix:
52+
node: [18]
53+
os: [ubuntu-latest]
54+
fail-fast: false
55+
56+
steps:
57+
- uses: actions/checkout@v3
58+
59+
- uses: actions/setup-node@v3
60+
with:
61+
node-version: ${{ matrix.node }}
62+
63+
- run: corepack enable
64+
65+
- name: Install
66+
run: pnpm i
67+
68+
- name: Test
69+
run: pnpm run test

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"dev": "unbuild --stub",
3333
"lint": "eslint .",
3434
"lint:fix": "eslint . --fix",
35+
"test": "vitest",
3536
"test:types": "vue-tsc --noEmit",
3637
"release": "bumpp --commit --push --tag"
3738
},

0 commit comments

Comments
 (0)