Skip to content

Bump vitest from 0.32.4 to 0.34.6 (#147) #173

Bump vitest from 0.32.4 to 0.34.6 (#147)

Bump vitest from 0.32.4 to 0.34.6 (#147) #173

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
name: Code style
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install dependencies
run: npm install
- name: Check code style
run: npm run lint
test:
name: Tests
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 19.x]
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install Node.js ${{matrix.node-version}}
uses: actions/setup-node@v3
with:
node-version: ${{matrix.node-version}}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run tests-only
- name: Submit coverage
if: matrix.node-version == '18.x'
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}