Skip to content

chore: setup vite-plus #41

chore: setup vite-plus

chore: setup vite-plus #41

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
concurrency:
group: ci-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.cache/ms-playwright
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: voidzero-dev/setup-vp@v1
- run: vp i
- run: vp check --no-lint
- run: vp run build
- run: vp run typecheck
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: voidzero-dev/setup-vp@v1
- run: vp i
- run: vp run build
- run: vp exec playwright install --with-deps
- run: vp run test -c vitest.ci.config.ts