Skip to content

Commit 449b402

Browse files
authored
Update pages.yml
1 parent bd75dbd commit 449b402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
- name: Detect package manager
3838
id: detect-package-manager
3939
run: |
40-
if [ -f "${{ github.workspace }}/yarn.lock" ]; then
40+
if [ -f "./yarn.lock" ]; then
4141
echo "manager=yarn" >> $GITHUB_OUTPUT
4242
echo "command=install" >> $GITHUB_OUTPUT
4343
echo "runner=yarn" >> $GITHUB_OUTPUT
4444
exit 0
45-
elif [ -f "${{ github.workspace }}/package.json" ]; then
45+
elif [ -f "./package.json" ]; then
4646
echo "manager=npm" >> $GITHUB_OUTPUT
4747
echo "command=ci" >> $GITHUB_OUTPUT
4848
echo "runner=npx --no-install" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)