This commit is contained in:
DESKTOP-RTLN3BA\$punk 2024-08-12 15:07:40 -07:00
parent 8624ebc260
commit 2e3ce925a5

View file

@ -34,12 +34,12 @@ jobs:
- name: Detect package manager
id: detect-package-manager
run: |
if [ -f "${{ github.workspace }}/yarn.lock" ]; then
if [ -f "/home/runner/work/SurfSense/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 "$/home/runner/work/SurfSense/package.json" ]; then
echo "manager=pnpm" >> $GITHUB_OUTPUT
echo "command=install --frozen-lockfile" >> $GITHUB_OUTPUT
echo "runner=pnpx" >> $GITHUB_OUTPUT