Skip to content

Merge pull request #41 from homer0/next #96

Merge pull request #41 from homer0/next

Merge pull request #41 from homer0/next #96

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '18', '20' ]
name: Run jest and ESLint (Node ${{ matrix.node }})
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm run lint:all
- run: npm test
- name: Coveralls
if: ${{ matrix.node == '18' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}