Skip to content

ci: add node 20, 22 #148

ci: add node 20, 22

ci: add node 20, 22 #148

Workflow file for this run

name: Node.js CI
on:
pull_request:
branches:
- main
push:
branches:
- main
paths-ignore:
- "*.md"
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node: ["12.20.0", "12", "14", "16", "18", "20", "22"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "npm"
- run: npm ci
- run: npm test