fix(release): install Chromium before browser verification (#21)

This commit is contained in:
Cato authored and GitHub committed 2026-10-28 07:56:03 +01:00
1 parent d9cf48db67
commit 1c8cebad06
1 file changed
+6
+6
View File
@@ -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