Skip to content

Merge pull request #165 from jihchi/dependabot/npm_and_yarn/types/nod… #612

Merge pull request #165 from jihchi/dependabot/npm_and_yarn/types/nod…

Merge pull request #165 from jihchi/dependabot/npm_and_yarn/types/nod… #612

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [16, 18, 20, 21]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm typecheck
- name: Test
run: pnpm test -- --coverage
- name: Build
run: pnpm build