Skip to content

Add constructor option flags #463

Add constructor option flags

Add constructor option flags #463

Workflow file for this run

name: Node.js CI
on: [push, pull_request]
jobs:
lint:
name: lint & ts-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: |
npm ci
npm run lint
npm run ts-test
test-eslint-8-only:
name: test (Node.js ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['12', '14', '16']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: |
npm ci
npm install eslint@8
npm test
test:
name: test (Node.js ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18', '20', '22']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: |
npm ci
npm test