Skip to content

ci: add .github/workflows/nodejs-test.yml to run npm test on every co… #1

ci: add .github/workflows/nodejs-test.yml to run npm test on every co…

ci: add .github/workflows/nodejs-test.yml to run npm test on every co… #1

Workflow file for this run

name: Node.js Test
on:
- push
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 18
- 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test