Skip to content

Merge pull request #122 from shane-js/patch-1 #73

Merge pull request #122 from shane-js/patch-1

Merge pull request #122 from shane-js/patch-1 #73

Workflow file for this run

# Based on https://github.com/actions/starter-workflows/blob/ebda693bc06206f7a6706a7c8c786b9ca5e6e4b6/ci/node.js.yml
name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- run: npm test -- --coverage-report=text-lcov | npx codecov --pipe