chore(deps): lock file maintenance node dependencies #1319
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@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- 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' }} |