From 27161afe9ecfb5a2d24f407e8e9e12dfb46c8fcf Mon Sep 17 00:00:00 2001 From: Libby Date: Mon, 9 Nov 2026 15:24:40 +0000 Subject: [PATCH] CI: install eve-contracts dependencies before a package that links it Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/portable-contracts.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/portable-contracts.yml b/.github/workflows/portable-contracts.yml index 93b1a74..cc939f9 100644 --- a/.github/workflows/portable-contracts.yml +++ b/.github/workflows/portable-contracts.yml @@ -33,6 +33,14 @@ jobs: cache: npm cache-dependency-path: packages/${{ matrix.package }}/package-lock.json + # eve-browser-lowering links eve-contracts as file:../eve-contracts; npm installs none of the + # linked package's dependencies, and tsc resolves its declarations from the real path, so + # ajv must be installed in eve-contracts itself. + - name: Install eve-contracts dependencies + if: matrix.package != 'eve-contracts' + working-directory: packages/eve-contracts + run: npm ci + - name: Install package dependencies working-directory: packages/${{ matrix.package }} run: npm ci