Skip to content

Update packages, configs + Node.js 20 #378

Update packages, configs + Node.js 20

Update packages, configs + Node.js 20 #378

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: Build & basic tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4.1.1
- name: Setup Node.js
uses: actions/setup-node@v4.0.0
with:
cache: npm
check-latest: true
node-version-file: .nvmrc
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Functional tests (Chromium)
run: npm run karma
# Run linter last so other tests run even if there is a code formatting error
- name: Lint
run: npm run standard