build: fix pnpm pptr postinstall (#12450)

* chore: fix chrome not found in jest

* chore: explicitly require deps for stealth plugin
This commit is contained in:
Tony
2023-05-05 23:58:29 +08:00
committed by GitHub
parent 76d0a7deb9
commit a0ea328013
8 changed files with 25 additions and 7 deletions
+4
View File
@@ -49,6 +49,8 @@ jobs:
cache: 'pnpm'
- name: Install dependencies (pnpm)
run: pnpm i
- name: Run postinstall script for dependencies
run: pnpm rb
- name: Test all and generate coverage
run: pnpm run jest:coverage
env:
@@ -99,6 +101,8 @@ jobs:
cache: 'pnpm'
- name: Install dependencies (pnpm)
run: pnpm i
- name: Run postinstall script for dependencies
run: pnpm rb
- name: Install Chromium
if: ${{ matrix.chromium.dependency != '' }}
# 'chromium-browser' from Ubuntu APT repo is a dummy package. Its version (85.0.4183.83) means