chore: add apps/documentation to pnpm workspaces (#96)

This commit is contained in:
Marco Pasqualetti
2024-11-14 10:30:21 +01:00
committed by GitHub
parent 18a060e2bf
commit 535cc6b3d9
7 changed files with 71 additions and 85 deletions
+6 -11
View File
@@ -15,9 +15,6 @@ jobs:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
timeout-minutes: 15
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./apps/documentation
steps:
- name: Check out code
@@ -40,18 +37,16 @@ jobs:
run: npm i -g pnpm
- name: Install dependencies
run: pnpm install --ignore-workspace
run: pnpm install
- name: Build project
working-directory: ./apps/documentation
run: tuono build --static
fmt-lint-and-types:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
working-directory: ./apps/documentation
steps:
- name: Check out code
@@ -63,13 +58,13 @@ jobs:
run: npm i -g pnpm
- name: Install dependencies
run: pnpm install --ignore-workspace
run: pnpm install
- name: Check formatting
run: pnpm format:check
run: pnpm docs:format:check
- name: Lint
run: pnpm lint
run: pnpm docs:lint
- name: Types
run: pnpm types
run: pnpm docs:types