Skip to content

feature: add tests for unit and other tests packages as well #146

feature: add tests for unit and other tests packages as well

feature: add tests for unit and other tests packages as well #146

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm install -g pnpm@10.12.2
- run: node --experimental-strip-types scripts/generate.ts
- run: pnpm install
- run: pnpm test:unit
integration:
name: Integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm install -g pnpm@10.12.2
- run: node --experimental-strip-types scripts/generate.ts
- run: pnpm install
- run: pnpm build
- run: pnpm test:integration