Skip to content

Web/document server #1911

Web/document server

Web/document server #1911

name: 🔗Pull Request Checks Workflow
on:
pull_request:
branches:
- main
jobs:
checks:
name: 🫸 Pull Request Checks
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🧩 Install dependencies
uses: ./.github/actions/setup
with:
github_packages_token: ${{ secrets.GH_PACKAGES_TOKEN }}
- name: 💅 Format code
shell: sh
run: |
pnpm --recursive --shell-mode exec biome ci \
--max-diagnostics=none \
--vcs-enabled=true \
--vcs-use-ignore-file=true \
--vcs-root="../../" \
--formatter-enabled=true \
--linter-enabled=false \
--organize-imports-enabled=true \
--reporter=github
- name: 🚨 Lint code
shell: sh
run: |
pnpm --recursive --shell-mode exec biome ci \
--max-diagnostics=none \
--vcs-enabled=true \
--vcs-use-ignore-file=true \
--vcs-root="../../" \
--formatter-enabled=false \
--linter-enabled=true \
--organize-imports-enabled=false \
--reporter=github .
- name: 🔍 Typecheck code
continue-on-error: true
run: pnpm typecheck
- name: 🧪 Run unit tests
run: pnpm test:unit
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: suddenlyGiovanni/suddenlygiovanni.dev
working-directory: apps/web
directory: coverage
fail_ci_if_error: false
- name: 🏗️ Build project
run: pnpm build