Skip to content

Commit 2e2486e

Browse files
committed
fix: update ci script
1 parent b6670f7 commit 2e2486e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
echo "command=install" >> $GITHUB_OUTPUT
3838
echo "runner=yarn" >> $GITHUB_OUTPUT
3939
exit 0
40+
elif [ -f "${{ github.workspace }}/pnpm-lock.yaml" ]; then
41+
echo "manager=pnpm" >> $GITHUB_OUTPUT
42+
echo "command=install --frozen-lockfile" >> $GITHUB_OUTPUT
43+
echo "runner=pnpm" >> $GITHUB_OUTPUT
4044
elif [ -f "${{ github.workspace }}/package.json" ]; then
4145
echo "manager=npm" >> $GITHUB_OUTPUT
4246
echo "command=ci" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)