Skip to content

Fixes

Fixes #127

Workflow file for this run

name: Push
on: push
jobs:
test:
name: Lint, build, and test on node 20.x and ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install deps (with cache)
uses: bahmutov/npm-install@v1
- name: Lint codebase
run: yarn lint
- name: Format codebase
run: yarn prettier -c .
- name: Build codebase
run: yarn build
- name: Test codebase
run: yarn test --coverage
- name: Upload coverage
run: bash <(curl -s https://codecov.io/bash)