-
-
Notifications
You must be signed in to change notification settings - Fork 8
31 lines (31 loc) · 1.04 KB
/
Copy pathci.yml
File metadata and controls
31 lines (31 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: CI
on:
push:
branches: [main, v1]
pull_request:
branches: [main, v1]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: voidzero-dev/setup-vp@v1
with:
node-version: "24"
cache: true
- run: vp install --frozen-lockfile
- run: vp run -r build
- run: vp check
- run: vp run -r check-types
# Per-package (dep order) so each package's own vite.config.ts applies —
# the root aggregate `vp test` drops per-package plugins (vite-plugin-solid,
# @sveltejs/vite-plugin-svelte) so solid renders SSR-only and svelte SFCs
# fail to transform. Recursive run fixes both; no exclusions needed.
- run: vp run -r test
# Required gate: knip.json is tuned to the src-in-dev / dist-on-publish
# layout (per-workspace source entry points), so dead deps/exports/files
# fail CI like any other check.
- run: vp run knip