diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f529c7..7b172b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,6 +58,9 @@ jobs: - name: 📥 Install Dependencies run: pnpm install + - name: 📦 Build libs + run: pnpm build:ui + - name: 🔬 Lint run: pnpm lint @@ -83,6 +86,9 @@ jobs: - name: 📥 Install Dependencies run: pnpm install + - name: 📦 Build libs + run: pnpm build:ui + - name: 🔎 Type check run: pnpm typecheck @@ -137,7 +143,7 @@ jobs: run: pnpm test:e2e build: - name: 🏗️ Build + name: 🏗️ Build apps needs: [changes] runs-on: ubuntu-latest steps: @@ -158,8 +164,8 @@ jobs: - name: 📥 Install Dependencies run: pnpm install - - name: 🏗️ Build - run: pnpm build + - name: 🏗️ Build apps + run: pnpm build:apps deploy-nestjs: name: 🐯 Deploy NestJS App diff --git a/package.json b/package.json index 0aa36b8..7181c3f 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,11 @@ "name": "pnpm-monorepo", "private": true, "scripts": { + "build:apps": "pnpm -F './apps/**' build", "build:docs": "pnpm -F docs build", "build:nestjs": "pnpm -F nestjs build", "build:remix": "pnpm -F remix build", + "build:ui": "pnpm -F ui build", "build": "pnpm run -r build", "deploy:nestjs": "fly deploy --config ./apps/nestjs/fly.toml --dockerfile ./apps/nestjs/Dockerfile", "deploy:remix": "fly deploy --config ./apps/remix/fly.toml --dockerfile ./apps/remix/Dockerfile",