File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -37,18 +37,11 @@ jobs:
3737 - name : Checkout
3838 uses : actions/checkout@v4
3939
40- - name : Identify package manager
41- id : pkgman
42- run : |
43- cache=`[ -f "./pnpm-lock.yaml" ] && echo "pnpm" || ([ -f "./package-lock.json" ] && echo "npm" || ([ -f "./yarn.lock" ] && echo "yarn" || echo ""))`
44- package_manager=`[ ! -z "$cache" ] && echo "$cache" || echo "pnpm"`
45- echo "cache=$cache" >> $GITHUB_OUTPUT
46- echo "package_manager=$package_manager" >> $GITHUB_OUTPUT
47-
48- - uses : pnpm/action-setup@v4
40+
41+ - uses : npm/action-setup@v4
4942 if : ${{ steps.pkgman.outputs.package_manager == 'npm' }}
50- name : Install pnpm
51- id : pnpm -install
43+ name : Install npm
44+ id : npm -install
5245
5346 - uses : actions/setup-node@v4
5447 with :
You can’t perform that action at this time.
0 commit comments