From 28f2dbb6be3da544826952e51903f3205069a999 Mon Sep 17 00:00:00 2001 From: rajdip-b Date: Wed, 31 Jul 2024 14:31:19 +0530 Subject: [PATCH] chore: Add api client build script and updated CI --- .github/workflows/validate-api-client.yaml | 4 ++++ .github/workflows/validate-cli.yaml | 6 +++++- package.json | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-api-client.yaml b/.github/workflows/validate-api-client.yaml index a5246a5a..796504a3 100644 --- a/.github/workflows/validate-api-client.yaml +++ b/.github/workflows/validate-api-client.yaml @@ -52,6 +52,10 @@ jobs: run: | pnpm run lint:api-client + - name: Build + run: | + pnpm run build:api-client + - name: Test run: | pnpm run test:api-client diff --git a/.github/workflows/validate-cli.yaml b/.github/workflows/validate-cli.yaml index 34577cc2..9543f1a6 100644 --- a/.github/workflows/validate-cli.yaml +++ b/.github/workflows/validate-cli.yaml @@ -58,4 +58,8 @@ jobs: - name: Lint run: | - pnpm run lint:cli \ No newline at end of file + pnpm run lint:cli + + - name: Build + run: | + pnpm run build:cli diff --git a/package.json b/package.json index 12d89feb..92e3831e 100644 --- a/package.json +++ b/package.json @@ -110,6 +110,7 @@ "build:web": "turbo run build --filter=web", "build:platform": "turbo run build --filter=platform", "build:cli": "turbo run build --filter=cli", + "build:api-client": "pnpm run --filter=api-client build", "start": "turbo run start", "start:api": "turbo run start --filter=api", "start:web": "turbo run start --filter=web",