Skip to content

Fix Node.js version in CI #2

Fix Node.js version in CI

Fix Node.js version in CI #2

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node_version: ["current", "lts/*"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- name: Install dependencies
run: npm ci --no-audit
- name: Build
run: npm run build
- name: Run tests
run: npm test