Skip to content

Convert testing framework from Karma/Chai/Mocha to Vitest with Playwright #94

Convert testing framework from Karma/Chai/Mocha to Vitest with Playwright

Convert testing framework from Karma/Chai/Mocha to Vitest with Playwright #94

Workflow file for this run

name: Node CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: npm install
run: npm ci
- name: npm build
run: npm run build --if-present
- name: npm test
run: npm test
env:
CI: true