From 1c8cebad06bb41af8cac13150cd6db223907f671 Mon Sep 17 00:00:00 2001 From: Cato <41178744+catomean@users.noreply.github.com> Date: Wed, 28 Oct 2026 07:56:03 +0100 Subject: [PATCH] fix(release): install Chromium before browser verification (#21) --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6339d9..cf42342 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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