resolves #809 use a recursive approach to have better performance on … #1010
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' }} |