Skip to content

Replace Travis with GitHub Actions, support node 18 + 20 #1

Replace Travis with GitHub Actions, support node 18 + 20

Replace Travis with GitHub Actions, support node 18 + 20 #1

Workflow file for this run

strategy:
matrix:
node-version: ['14.x', '16.x', '18.x']
on: [push]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test:cover
- name: Report coverage
run: npx codeclimate-test-reporter < coverage/lcov.info