Skip to content

Merge pull request #8 from ahoylabs/dk/fix-license-field #50

Merge pull request #8 from ahoylabs/dk/fix-license-field

Merge pull request #8 from ahoylabs/dk/fix-license-field #50

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: ['18.x', '19.x', '20.x']
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Lint
run: yarn lint
- name: Test
run: yarn test --ci --coverage --maxWorkers=2
- name: Build
run: yarn build