Skip to content

Merge pull request #42 from jihchi/dependabot/npm_and_yarn/typescript… #200

Merge pull request #42 from jihchi/dependabot/npm_and_yarn/typescript…

Merge pull request #42 from jihchi/dependabot/npm_and_yarn/typescript… #200

Workflow file for this run

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