Skip to content

Merge pull request #382 from airframesio/dependabot/npm_and_yarn/type… #621

Merge pull request #382 from airframesio/dependabot/npm_and_yarn/type…

Merge pull request #382 from airframesio/dependabot/npm_and_yarn/type… #621

Workflow file for this run

name: Node Test CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# build against all active LTS and current stable node; include "latest" for early signal as a required job
node-version: [20.x, 22.x, 24.x, latest]
steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run tests
run: npm test