Skip to content

feat(schema): support default factory functions #5

feat(schema): support default factory functions

feat(schema): support default factory functions #5

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
# A globally npm-installed vp resolves its toolchain from its own
# node_modules, so `vp pack` cannot find the project's TypeScript for
# tsgo dts emit. setup-vp installs Vite+ so it uses the project install.
- uses: voidzero-dev/setup-vp@v1
with:
node-version: "24"
cache: true
- name: Install dependencies
run: vp install --frozen-lockfile
# Workspace packages resolve to dist/, so type checking and tests need
# the packages built first.
- name: Build
run: vp run -r build
- name: Format, lint, and type check
run: vp check
- name: Install Playwright browsers
working-directory: packages/components
run: vp exec playwright install --with-deps chromium
- name: Test
run: vp run -r test