Skip to content

Commit c644bc2

Browse files
authored
Update astro.yml
1 parent 42267d7 commit c644bc2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/astro.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
- name: Detect package manager
3939
id: detect-package-manager
4040
run: |
41-
if [ -f "${{ github.workspace }}/yarn.lock" ]; then
42-
echo "manager=yarn" >> $GITHUB_OUTPUT
41+
if [ -f "${{ github.workspace }}/pnpm-lock.yaml" ]; then
42+
echo "manager=pnpm" >> $GITHUB_OUTPUT
4343
echo "command=install" >> $GITHUB_OUTPUT
44-
echo "runner=yarn" >> $GITHUB_OUTPUT
45-
echo "lockfile=yarn.lock" >> $GITHUB_OUTPUT
44+
echo "runner=pnpm" >> $GITHUB_OUTPUT
45+
echo "lockfile=pnpm-lock.yaml" >> $GITHUB_OUTPUT
4646
exit 0
4747
elif [ -f "${{ github.workspace }}/package.json" ]; then
4848
echo "manager=npm" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)