Skip to content

test: migrate from karma to vitest #437

test: migrate from karma to vitest

test: migrate from karma to vitest #437

name: Project chartjs check
on:
push:
branches:
- main
- v5.*
pull_request:
branches:
- main
- v5.*
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Project check
run: |
npm run build:chartjs:prod
npm run lint:chartjs
npm run test:chartjs:prod
env:
CI: true