Skip to content

Migrate from Karma/Mocha/Chai to Vitest with Playwright browser mode #480

Migrate from Karma/Mocha/Chai to Vitest with Playwright browser mode

Migrate from Karma/Mocha/Chai to Vitest with Playwright browser mode #480

Workflow file for this run

name: Node CI
permissions:
contents: read
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22, 24]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium
- name: npm install, build, and test
run: |
npm install
npm run build
npm test
env:
CI: true