fix(core): stage preference toggles in a draft until save #545
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |