dependabot[bot] b232bd5add
Bump actions/checkout from 2 to 3 (#342)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 09:21:49 -03:00

39 lines
899 B
YAML

on: [push, pull_request]
name: CI
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Node.js 12
uses: actions/setup-node@v3.0.0
with:
node-version: 12.x
- name: Install dependencies
run: npm install
- name: Check linting
run: npm run ci-lint
test:
name: Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [12.x, 14.x, 16.x, 17.x]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
- name: Install Node.js ${{matrix.node-version}}
uses: actions/setup-node@v3.0.0
with:
node-version: ${{matrix.node-version}}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run ci-test-cov