Skip to content

chore: fix failing unit tests #338

chore: fix failing unit tests

chore: fix failing unit tests #338

Workflow file for this run

name: CI-app/client
on:
push:
branches: [dev, main]
paths:
- 'apps/client/**'
- 'package.json'
- '*.lock'
- 'tsconfig.base.json'
- '.prettier*'
- '.github/**'
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'apps/client/**'
- 'package.json'
- '*.lock'
- 'tsconfig.base.json'
- '.prettier*'
- '.github/**'
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/client
strategy:
matrix:
node-version: [18.17]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: 📥 Monorepo install
uses: ./.github/actions/pnpm-install
- name: Build Packages
working-directory: ./
run: pnpm packages:build
- name: 🕵️ Typecheck
run: pnpm typecheck
- name: 🔬 Linter
run: pnpm lint
- name: 🧪 Unit tests
run: pnpm test
- name: 🧪 E2E tests
run: pnpm test:e2e
- name: 🏗 Build client
run: pnpm build