Update astro.yml
This commit is contained in:
parent
04e0766896
commit
6a0267036c
1 changed files with 5 additions and 0 deletions
5
.github/workflows/astro.yml
vendored
5
.github/workflows/astro.yml
vendored
|
@ -43,6 +43,11 @@ jobs:
|
||||||
echo "command=install" >> $GITHUB_OUTPUT
|
echo "command=install" >> $GITHUB_OUTPUT
|
||||||
echo "runner=yarn" >> $GITHUB_OUTPUT
|
echo "runner=yarn" >> $GITHUB_OUTPUT
|
||||||
exit 0
|
exit 0
|
||||||
|
if [ -f "${{ github.workspace }}/pnpm-lock.yaml" ]; then
|
||||||
|
echo "manager=pnpm" >> $GITHUB_OUTPUT
|
||||||
|
echo "command=install --frozen-lockfile" >> $GITHUB_OUTPUT
|
||||||
|
echo "runner=pnpx" >> $GITHUB_OUTPUT
|
||||||
|
exit 0
|
||||||
elif [ -f "${{ github.workspace }}/package.json" ]; then
|
elif [ -f "${{ github.workspace }}/package.json" ]; then
|
||||||
echo "manager=npm" >> $GITHUB_OUTPUT
|
echo "manager=npm" >> $GITHUB_OUTPUT
|
||||||
echo "command=ci" >> $GITHUB_OUTPUT
|
echo "command=ci" >> $GITHUB_OUTPUT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue