Skip to content

support latest node.js lts versions #63

support latest node.js lts versions

support latest node.js lts versions #63

Workflow file for this run

name: Test
on: push
jobs:
test:
name: Node.js v${{matrix.node-version}} on ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
node-version: [18, 20]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{matrix.node-version}}
- run: npm install
- run: npm test
coverage:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install
- uses: paambaati/codeclimate-action@v5
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
coverageCommand: npm run test:coverage:lcov