Skip to content

test vp migrate

test vp migrate #2794

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
merge_group:
jobs:
check:
runs-on: ubuntu-latest
concurrency:
group: check-${{ github.workflow }}-#${{ github.event.pull_request.number || github.head_ref || github.ref }}
cancel-in-progress: true
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Setup Vite+
uses: voidzero-dev/setup-vp@60c472484fdfc8f34d830633614dbd1f21221a07 # main
with:
node-version: '24'
cache: true
# sfw: true
- name: Check
run: vp run check
- name: Check dedupe
run: vp dedupe --check
- name: Run typecheck
run: vp run typecheck
- name: Run build check
run: vp run build
test:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
node: ['22', '24', '26']
name: Test (${{ matrix.os }}, ${{ matrix.node }})
runs-on: ${{ matrix.os }}
concurrency:
group: test-${{ github.workflow }}-#${{ github.event.pull_request.number || github.head_ref || github.ref }}-(${{ matrix.os }}, ${{ matrix.node }})
cancel-in-progress: true
permissions:
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Setup Vite+
uses: voidzero-dev/setup-vp@60c472484fdfc8f34d830633614dbd1f21221a07 # main
with:
node-version: ${{ matrix.node }}
cache: true
# sfw: true
- name: Run tests
run: vp run ci
- name: Code Coverage
uses: codecov/codecov-action@0b35c9ecc4f0529d0eb674914510c22f85b196b4 # v7
with:
use_oidc: true