Skip to content

Merge pull request #17 from hildjj/update-dependencies #61

Merge pull request #17 from hildjj/update-dependencies

Merge pull request #17 from hildjj/update-dependencies #61

Workflow file for this run

---
name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
env:
OS: ${{ matrix.os }}
NODE: ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Lint
run: npm run lint
- name: Test ${{ matrix.node-version }}
run: npm run test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: coverage/lcov.info
env_vars: OS,NODE
name: codecov-umbrella
fail_ci_if_error: true
verbose: true