From 4069d548ad3be32c9fa352889fdc01b7ad559a13 Mon Sep 17 00:00:00 2001 From: Aleksandr Pasevin Date: Thu, 27 Nov 2025 17:06:10 +0200 Subject: [PATCH] fix(ci): add build step to check-versions workflow The check-versions workflow runs update-export-versions which needs to run vitest tests when versions change. These tests require adapter packages to be built (dist/index.js must exist) for the Vite plugin to resolve dynamic imports. Without the build step, tests fail with: "Failed to resolve import @openzeppelin/ui-builder-adapter-evm" This was never caught before because regular PRs have versions in sync (no tests run). Only the changeset-release PR has version mismatches. --- .github/workflows/check-versions.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-versions.yml b/.github/workflows/check-versions.yml index 7a2d3296..a477c02c 100644 --- a/.github/workflows/check-versions.yml +++ b/.github/workflows/check-versions.yml @@ -8,7 +8,7 @@ on: branches: - main - develop - - 'release/**' + - "release/**" permissions: contents: read @@ -64,6 +64,11 @@ jobs: - name: Install dependencies run: pnpm install + - name: Build all packages + run: pnpm run build + env: + NODE_OPTIONS: "--max-old-space-size=8192" + - name: Update export versions run: pnpm run update-export-versions