Ryan Roemer b34988f9a5
Chore: updates (#121)
- Update devdeps
- Tighten up lint rules
- Update CI to modern Node versions
2023-03-14 08:42:44 -07:00

41 lines
883 B
YAML

---
name: CI
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
node_version:
- 14
- 16
- 18
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
steps:
- name: Use LF EOL
if: ${{ matrix.os == 'windows-latest' }}
run: |
git config --global core.autocrlf false
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Test
run: yarn test
- name: Codecov
run: yarn codecov