Skip to content

Configure GitHub actions #1

Configure GitHub actions

Configure GitHub actions #1

Workflow file for this run

name: Lint and test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
# Matching Dockerfile
node-version: '20.4'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests
run: npm test