Skip to content

Run CI on Windows

Run CI on Windows #948

Workflow file for this run

name: Compile, lint and test
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm ci
- run: npm run lint
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: npm run build-web
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: xvfb-run -a npm t
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: npm t
if: ${{ matrix.os == 'windows-latest' }}