Skip to content

Update npm test command in GitHub Actions workflow #180

Update npm test command in GitHub Actions workflow

Update npm test command in GitHub Actions workflow #180

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['16', '18', '20']
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version}}
- run: npm install
- run: npm run lint
- run: npm run test-ci