Skip to content

Enable GitHub CI

Enable GitHub CI #1

Workflow file for this run

name: 'Run tests'
on:
push:
branches:
- "main"
pull_request:
branches:
- 'main'
jobs:
test:
name: 'Tests (Node ${{ matrix.node_version }})'
strategy:
matrix:
node_version: [20]
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout the current branch'
uses: 'actions/checkout@v4'
- name: 'Setup Node'
uses: 'actions/setup-node@v4'
with:
node-version: ${{ matrix.node_version }}
- name: 'Install Node modules'
run: 'npm ci'
- name: 'Run tests'
run: 'npm run test'