Skip to content

feat(dashboard): add comprehensive documentation for dashboard featur… #4

feat(dashboard): add comprehensive documentation for dashboard featur…

feat(dashboard): add comprehensive documentation for dashboard featur… #4

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.0.0
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Type check
run: pnpm check-types
- name: Lint
run: pnpm lint
- name: Run tests
run: pnpm test
- name: Generate coverage report
run: pnpm test:coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage/coverage-final.json
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false