Skip to content

Commit f3923fe

Browse files
committed
test: add separate type test
1 parent c295d19 commit f3923fe

1 file changed

Lines changed: 21 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,27 @@ jobs:
3737
- name: 🔠 Lint project
3838
run: node scripts/lint.ts
3939

40+
types:
41+
runs-on: ubuntu-latest
42+
43+
steps:
44+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
45+
46+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
47+
with:
48+
node-version: lts/*
49+
50+
- uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
51+
name: Install pnpm
52+
with:
53+
cache: true
54+
55+
- name: 📦 Install dependencies
56+
run: pnpm install
57+
58+
- name: 💪 Type check
59+
run: pnpm test:types
60+
4061
test:
4162
runs-on: ubuntu-latest
4263

@@ -58,9 +79,6 @@ jobs:
5879
- name: 🌐 Install browser
5980
run: pnpm playwright install chromium-headless-shell
6081

61-
- name: 💪 Type check
62-
run: pnpm test:types
63-
6482
- name: 🧪 Unit and component tests
6583
run: pnpm vite test run --coverage
6684

0 commit comments

Comments
 (0)