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