Skip to content

chore: update to vitest v1.0.0 beta #583

chore: update to vitest v1.0.0 beta

chore: update to vitest v1.0.0 beta #583

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
- master
paths-ignore:
- "doc/**"
push:
paths-ignore:
- "doc/**"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
node-version: 20
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint:ci
- name: Spellcheck
run: npm run spellcheck:ci
test:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
strategy:
fail-fast: true
matrix:
node:
- 18
- 20
os:
- ubuntu-latest
- windows-latest
- macos-latest
max-parallel: 1