mirror of
https://github.com/bitbaum/whenkit.git
synced 2026-12-05 00:37:37 +01:00
fix(release): install Chromium before browser verification (#21)
This commit is contained in:
1 file changed
+6
@@ -124,6 +124,12 @@ jobs:
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Install Chromium when the package uses Playwright
|
||||
run: |
|
||||
if node -e 'const p = require("./package.json"); const d = { ...p.dependencies, ...p.devDependencies }; process.exit(d.playwright || d["@playwright/test"] ? 0 : 1)'; then
|
||||
pnpm exec playwright install --with-deps chromium
|
||||
fi
|
||||
|
||||
# Inputs reach the shell as environment variables, never pasted into the
|
||||
# script: a `version` is free text typed by whoever started the run.
|
||||
- name: Decide the version
|
||||
|
||||
Reference in new issue
Block a user