Skip to content

test: add unit test coverage #6

test: add unit test coverage

test: add unit test coverage #6

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
workflow_dispatch:
jobs:
main:
name: Continuous Integration
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x, 24.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v4
with:
version: 10
- name: Install Dependencies
run: |
pnpm install --frozen-lockfile
- name: Lint, check formatting and types
run: |
pnpm run lint
pnpm run format:check
pnpm run typecheck
- name: Test
run: |
pnpm run test
- name: Build
run: |
pnpm run build