We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2039578 commit 92607f1Copy full SHA for 92607f1
1 file changed
.github/workflows/static.yml
@@ -32,7 +32,12 @@ jobs:
32
- name: Detect package manager
33
id: detect-package-manager
34
run: |
35
- if [ -f "${{ github.workspace }}/yarn.lock" ]; then
+ if [ -f "${{ github.workspace }}/pnpm-lock.yaml" ]; then
36
+ echo "manager=pnpm" >> $GITHUB_OUTPUT
37
+ echo "command=install" >> $GITHUB_OUTPUT
38
+ echo "runner=pnpm" >> $GITHUB_OUTPUT
39
+ exit 0
40
+ elif [ -f "${{ github.workspace }}/yarn.lock" ]; then
41
echo "manager=yarn" >> $GITHUB_OUTPUT
42
echo "command=install" >> $GITHUB_OUTPUT
43
echo "runner=yarn" >> $GITHUB_OUTPUT
0 commit comments