Skip to content

ci: include lts node version matrix #356

ci: include lts node version matrix

ci: include lts node version matrix #356

Workflow file for this run

name: Github CI
on: [push]
permissions:
contents: read
pull-requests: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: git fetch --unshallow || true
- run: yarn install --frozen-lockfile
- run: npm run build
- run: npm run lint
- run: npm run test
env:
CI: true