We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd75dbd commit 449b402Copy full SHA for 449b402
.github/workflows/pages.yml
@@ -37,12 +37,12 @@ jobs:
37
- name: Detect package manager
38
id: detect-package-manager
39
run: |
40
- if [ -f "${{ github.workspace }}/yarn.lock" ]; then
+ if [ -f "./yarn.lock" ]; then
41
echo "manager=yarn" >> $GITHUB_OUTPUT
42
echo "command=install" >> $GITHUB_OUTPUT
43
echo "runner=yarn" >> $GITHUB_OUTPUT
44
exit 0
45
- elif [ -f "${{ github.workspace }}/package.json" ]; then
+ elif [ -f "./package.json" ]; then
46
echo "manager=npm" >> $GITHUB_OUTPUT
47
echo "command=ci" >> $GITHUB_OUTPUT
48
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
0 commit comments