Skip to content

Properly setup viteplus in CI #5

Properly setup viteplus in CI

Properly setup viteplus in CI #5

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Vite+
uses: voidzero-dev/setup-vp@v1
with:
node-version: "22"
cache: true
run-install: false
- name: Install dependencies
run: vp install --frozen-lockfile
- name: Lint
run: vp lint
- name: Typecheck
run: vp run -r check
- name: Test
run: vp run -r test
- name: Build
run: vp run -r build
- name: Example smoke test
run: SQLF_SKIP_BUILD=1 vp run example:smoke