Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Add offset support and toggle disabled tests #20

Add offset support and toggle disabled tests

Add offset support and toggle disabled tests #20

name: Run Node.js tests
on:
push:
paths-ignore:
- README.md
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install mkcert
run: |
MKCERT_VERSION="v1.4.4"
wget -O mkcert https://github.com/FiloSottile/mkcert/releases/download/${MKCERT_VERSION}/mkcert-${MKCERT_VERSION}-linux-amd64
chmod +x mkcert
sudo mv mkcert /usr/local/bin/mkcert
- name: Install mkcert CA
run: |
mkcert -install
- name: Generate SSL certificates
run: |
cd certificates
mkcert localhost 127.0.0.1 ::1
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test