Skip to content

chore: update ci

chore: update ci #9

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Nodejs ${{ matrix.node_version }}
runs-on: ubuntu-latest
strategy:
matrix:
node_version: ['18', '20', '22']
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- run: npm install
- run: npm test