From 9392f20a82de8f5215fc580902efdd170404a775 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 8 Jun 2026 16:15:49 +0000 Subject: [PATCH 1/2] 0.72.2 - Run Storybook tests before publishing on push to main The publish workflow runs on push to main but previously only ran Build before publishing. Storybook tests only ran on pull requests, so a merge to main could publish even if storybook tests would fail. Add a Storybook-Tests job to the publish workflow (build static Storybook + run the test-runner against it, matching the PR check) and make both publish jobs (GitHub Packages and NPMJS) depend on it in addition to Build. --- .../build-and-publish-components-pkg.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/build-and-publish-components-pkg.yml b/.github/workflows/build-and-publish-components-pkg.yml index 82ef587..1cac93e 100644 --- a/.github/workflows/build-and-publish-components-pkg.yml +++ b/.github/workflows/build-and-publish-components-pkg.yml @@ -40,6 +40,30 @@ jobs: path: schemavaults-ui.tgz retention-days: 2 + Storybook-Tests: + name: "Storybook Tests" + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + with: + bun-version: ${{ env.BUN_VERSION }} + - name: Configure bun to install from GitHub Packages + run: rm -rf .npmrc + - name: Install dependencies + run: bun install + env: + SCHEMAVAULTS_GITHUB_PACKAGE_REGISTRY_USER: ${{ github.actor }} + SCHEMAVAULTS_GITHUB_PACKAGE_REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Install Playwright Chromium (with system deps) + run: bunx playwright install --with-deps chromium + - name: Build Storybook + run: bun run build:storybook + - name: Run Storybook tests (interaction + smoke) + run: bun run test-storybook:ci + Publish-Package-To-GitHub: name: "Publish @schemavaults/ui to GitHub Packages" runs-on: ubuntu-latest @@ -47,6 +71,7 @@ jobs: packages: write needs: - Build + - Storybook-Tests steps: - name: Checkout uses: actions/checkout@v6 @@ -82,6 +107,7 @@ jobs: id-token: write # Required for OIDC needs: - Build + - Storybook-Tests steps: - uses: actions/setup-node@v5 with: From b5891e94db6532341c29f0466ba372e6ab835b72 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 8 Jun 2026 16:23:35 +0000 Subject: [PATCH 2/2] 0.72.3 - Bump package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d0eabe1..7e0a35e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@schemavaults/ui", - "version": "0.72.2", + "version": "0.72.3", "private": false, "license": "UNLICENSED", "description": "React.js UI components for SchemaVaults frontend applications",