From e4dc33b4572fec0d0fd3f7c3a423b82d6113428d Mon Sep 17 00:00:00 2001 From: sripwoud Date: Fri, 19 Jul 2024 13:33:08 +0200 Subject: [PATCH] ci: fix build check in pr workflow --- .github/workflows/deploy-web-app.yaml | 9 ++------- .github/workflows/pr.yaml | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy-web-app.yaml b/.github/workflows/deploy-web-app.yaml index 81895b7..1d9b4aa 100644 --- a/.github/workflows/deploy-web-app.yaml +++ b/.github/workflows/deploy-web-app.yaml @@ -17,14 +17,10 @@ jobs: contents: read steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 with: persist-credentials: false - fetch-depth: 0 - - uses: actions/setup-node@v4 - - uses: pnpm/action-setup@v4 with: run_install: false @@ -41,8 +37,7 @@ jobs: key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: ${{ runner.os }}-pnpm-store - - name: Build - run: pnpm --filter artifacts build && pnpm --filter web build + - run: pnpm --filter web build - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 280c317..d85ded4 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -36,7 +36,7 @@ jobs: run: pnpm -r typecheck - name: Check build - run: pnpm -r build + run: pnpm -r --link-workspace-packages build - name: Test run: pnpm test.ci