We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f9a8c5 commit 8f6e536Copy full SHA for 8f6e536
.github/workflows/deploy.yml
@@ -26,6 +26,12 @@ jobs:
26
steps:
27
- name: Checkout
28
uses: actions/checkout@v4
29
+
30
+ - name: Install Pnpm
31
+ uses: pnpm/action-setup@v4
32
+ with:
33
+ version: 9
34
35
- name: Detect package manager
36
id: detect-package-manager
37
run: |
@@ -34,6 +40,11 @@ jobs:
40
echo "command=install" >> $GITHUB_OUTPUT
41
echo "runner=yarn" >> $GITHUB_OUTPUT
42
exit 0
43
+ elif [ -f "${{ github.workspace }}/pnpm-lock.yaml" ]; then
44
+ echo "manager=pnpm" >> $GITHUB_OUTPUT
45
+ echo "command=install" >> $GITHUB_OUTPUT
46
+ echo "runner=pnpm dlx" >> $GITHUB_OUTPUT
47
+ exit 0
48
elif [ -f "${{ github.workspace }}/package.json" ]; then
38
49
echo "manager=npm" >> $GITHUB_OUTPUT
39
50
echo "command=ci" >> $GITHUB_OUTPUT
0 commit comments