From db301225c87427f8f06056a5b3320aa1dbb9f00b Mon Sep 17 00:00:00 2001 From: Mantra Date: Thu, 7 Nov 2024 12:45:34 +0000 Subject: [PATCH] better logic --- .github/actions/setup-and-login/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-and-login/action.yml b/.github/actions/setup-and-login/action.yml index 9cda1e4e..cce5b64f 100644 --- a/.github/actions/setup-and-login/action.yml +++ b/.github/actions/setup-and-login/action.yml @@ -51,7 +51,8 @@ runs: node-version: 20 - name: Install packages - if: inputs.install-packages == 'true' + # we install in the build script anyway so skip if build-and-run-server + if: inputs.install-packages == 'true' && inputs.build-and-run-server != 'true' shell: bash run: | npm i --prefix=app/server