diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index c1e50ed5..648eebb6 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -39,12 +39,12 @@ jobs: - name: Detect package manager id: detect-package-manager run: | - if [ -f "${{ github.workspace }}/frontend/yarn.lock" ]; then + if [ -f "${{ github.workspace }}/frontend/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 }}/frontend/package.json" ]; then + elif [ -f "${{ github.workspace }}/frontend/frontend/package.json" ]; then echo "manager=npm" >> $GITHUB_OUTPUT echo "command=ci" >> $GITHUB_OUTPUT echo "runner=npx --no-install" >> $GITHUB_OUTPUT