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:
37
37
- name : Checkout
38
38
uses : actions/checkout@v4
39
39
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
49
42
if : ${{ steps.pkgman.outputs.package_manager == 'npm' }}
50
- name : Install pnpm
51
- id : pnpm -install
43
+ name : Install npm
44
+ id : npm -install
52
45
53
46
- uses : actions/setup-node@v4
54
47
with :
You can’t perform that action at this time.
0 commit comments