From 25815e3ad7997d8134fa4038cdcbb30a6fadd0ea Mon Sep 17 00:00:00 2001 From: NikolaiKushner Date: Sun, 2 Aug 2026 13:29:18 +0400 Subject: [PATCH] ci: install Playwright browsers before the release test run" --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8959009..0b7927a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,13 @@ jobs: - run: pnpm build - run: pnpm lint - run: pnpm typecheck + + # Story tests run in a real browser, so the binary has to be present. + # Without this the storybook project fails to launch and `pnpm test` + # reports every unit test green alongside one unhandled error. + - name: Install Playwright Chromium + run: pnpm exec playwright install --with-deps chromium + - run: pnpm test - run: pnpm size @@ -55,5 +62,9 @@ jobs: # "Version Packages" PR. Merging that PR triggers the run that # actually publishes, so a release is always a deliberate merge. publish: pnpm changeset publish + # One GitHub Release per published package, with the changelog as its + # body — so the repository's Releases tab shows what shipped without + # anyone writing it out by hand. + createGithubReleases: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}