File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 3939 echo "command=install" >> $GITHUB_OUTPUT
4040 echo "runner=yarn" >> $GITHUB_OUTPUT
4141 exit 0
42+ elif [ -f "${{ github.workspace }}/pnpm-lock.yaml" ]; then
43+ echo "manager=pnpm" >> $GITHUB_OUTPUT
44+ echo "command=install --frozen-lockfile" >> $GITHUB_OUTPUT
45+ echo "runner=pnpm" >> $GITHUB_OUTPUT
46+ exit 0
4247 elif [ -f "${{ github.workspace }}/package.json" ]; then
4348 echo "manager=npm" >> $GITHUB_OUTPUT
4449 echo "command=ci" >> $GITHUB_OUTPUT
4853 echo "Unable to determine package manager"
4954 exit 1
5055 fi
56+ - name : Setup pnpm
57+ uses : pnpm/action-setup@v4
58+ if : steps.detect-package-manager.outputs.manager == 'pnpm'
59+ with :
60+ version : 9
5161 - name : Setup Node
5262 uses : actions/setup-node@v4
5363 with :
You can’t perform that action at this time.
0 commit comments