Skip to content

Merge pull request #52 from qubyte/update-ci-node-versions #34

Merge pull request #52 from qubyte/update-ci-node-versions

Merge pull request #52 from qubyte/update-ci-node-versions #34

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 22]
steps:
- name: checkout
uses: actions/checkout@main
- name: use node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm test
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@main
- name: use node 22
uses: actions/setup-node@v3
with:
node-version: 22.x
- run: npm ci
- run: npm run lint