From c0d274ff11fb551df57b4e0df1b43f20661b3880 Mon Sep 17 00:00:00 2001 From: Rohan Moniz <60864468+rm03@users.noreply.github.com> Date: Sat, 21 Sep 2024 15:48:20 -0400 Subject: [PATCH] add back frontend check --- .github/workflows/build-and-deploy.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy.yaml b/.github/workflows/build-and-deploy.yaml index cbb6ba54c..cd0dd40bc 100644 --- a/.github/workflows/build-and-deploy.yaml +++ b/.github/workflows/build-and-deploy.yaml @@ -18,6 +18,13 @@ jobs: black: false ruff: true + frontend-check: + name: "Frontend Check" + uses: pennlabs/shared-actions/.github/workflows/react-check.yaml@v0.1 + with: + path: frontend + nodeVersion: 20.11.1 + build-backend: name: Build backend runs-on: ubuntu-latest @@ -72,6 +79,7 @@ jobs: with: name: build-frontend path: /tmp/image.tar + needs: frontend-check publish: name: Publish Images @@ -115,4 +123,4 @@ jobs: GH_AWS_SECRET_ACCESS_KEY: ${{ secrets.GH_AWS_SECRET_ACCESS_KEY }} needs: - - publish + - publish \ No newline at end of file