From 1e283f8d11cfbf472e4ba3929f103a1c3c280cd9 Mon Sep 17 00:00:00 2001 From: Javid Ahmed Date: Sat, 6 Jun 2026 21:33:33 +0100 Subject: [PATCH] Add setup-node step to build workflow if frontend exists --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index abb1a4c..f2ac248 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,9 @@ jobs: - uses: javidahmed64592/actions-template-python/actions/setup/check-frontend-exists@main id: check-frontend-exists + - uses: javidahmed64592/actions-template-python/actions/setup/setup-node@main + if: steps.check-frontend-exists.outputs.exists == 'true' + - uses: javidahmed64592/actions-template-python/actions/build/build-frontend@main if: steps.check-frontend-exists.outputs.exists == 'true'