Skip to content

update dependencies and test infra #64

update dependencies and test infra

update dependencies and test infra #64

Workflow file for this run

on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: Run tests (Linux)
run: xvfb-run -a npm test
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Run tests (Windows/Mac)
run: npm test
if: ${{ matrix.os != 'ubuntu-latest' }}