From 785ccf1b242d1231f1b448bedd3efd1339b64fa4 Mon Sep 17 00:00:00 2001 From: John Smith Date: Thu, 9 May 2024 07:13:56 +0930 Subject: [PATCH] fix: Explicitly include agent source in build (#224) Explicitly include `agent.ts` so it is included in `tsc` output. --- .github/workflows/test.yml | 4 ++++ control-plane/tsconfig.json | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cac2fa2d..831b1740 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,5 +38,9 @@ jobs: JWKS_URL: ${{ secrets.JWKS_URL }} PREDICTOR_API_URL: ${{ secrets.PREDICTOR_API_URL }} + - uses: sliteteam/github-action-git-crypt-unlock@1.2.0 + env: + GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }} + - name: Test builds run: npx lerna run build diff --git a/control-plane/tsconfig.json b/control-plane/tsconfig.json index 843364ca..2af23339 100644 --- a/control-plane/tsconfig.json +++ b/control-plane/tsconfig.json @@ -11,6 +11,7 @@ }, "include": [ "src/index.ts", - "src/utilities/migrate.ts" + "src/utilities/migrate.ts", + "src/modules/agents/agent.ts" ] -} \ No newline at end of file +}