Skip to content

Commit 095208b

Browse files
committed
npm
1 parent 3928150 commit 095208b

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/studio.yml

+4-11
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)