1 parent 76f3db8 commit 455a2d4Copy full SHA for 455a2d4
1 file changed
.github/workflows/plugin-doctor.yml
@@ -15,14 +15,16 @@ jobs:
15
steps:
16
- uses: actions/checkout@v4
17
- uses: pnpm/action-setup@v4
18
- if: hashFiles('pnpm-lock.yaml') != ''
+ if: hashFiles('pnpm-lock.yaml') != '' && hashFiles('package-lock.json') == ''
19
+ with:
20
+ version: 11.7.0
21
- uses: actions/setup-node@v4
22
with:
23
node-version: 22
24
- name: Install
25
run: |
- if [ -f pnpm-lock.yaml ]; then pnpm install --frozen-lockfile
- elif [ -f package-lock.json ]; then npm ci
26
+ if [ -f package-lock.json ]; then npm ci
27
+ elif [ -f pnpm-lock.yaml ]; then pnpm install --frozen-lockfile
28
else npm install --no-audit --no-fund
29
fi
30
- name: Build (if present)
0 commit comments