Skip to content

Merge pull request #309 from dwyl/dependabot/npm_and_yarn/eslint-8.48.0 #43

Merge pull request #309 from dwyl/dependabot/npm_and_yarn/eslint-8.48.0

Merge pull request #309 from dwyl/dependabot/npm_and_yarn/eslint-8.48.0 #43

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run lint
- run: npm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1