From e53fa686918ab6953ac6f95e9f6dc86bdbe3fb4d Mon Sep 17 00:00:00 2001 From: Lauri Peltonen <20242241+microbecode@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:22:27 +0000 Subject: [PATCH] hmm --- .github/workflows/nextjs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index a1778c4..c88ba46 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -40,12 +40,12 @@ jobs: id: detect-package-manager working-directory: ./frontend run: | - if [ -f "${{ github.workspace }}/yarn.lock" ]; then + if [ -f "${{ github.workspace }}/frontend/yarn.lock" ]; then echo "manager=yarn" >> $GITHUB_OUTPUT echo "command=install" >> $GITHUB_OUTPUT echo "runner=yarn" >> $GITHUB_OUTPUT exit 0 - elif [ -f "${{ github.workspace }}/package.json" ]; then + elif [ -f "${{ github.workspace }}/frontend/package.json" ]; then echo "manager=npm" >> $GITHUB_OUTPUT echo "command=ci" >> $GITHUB_OUTPUT echo "runner=npx --no-install" >> $GITHUB_OUTPUT