CI: install eve-contracts dependencies before a package that links it #3
Loading…
Reference in a new issue
No description provided.
Delete branch "libby/ci-install-eve-contracts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
eve-browser-loweringlinks@gamecult/eve-contractsasfile:../eve-contracts(package.json:12). npm installs none of a linked package's dependencies, andtscresolves the declarations from the real pathpackages/eve-contracts/dist, whereajvis not installed in that matrix leg. The leg fails on main withTS2307: Cannot find module 'ajv/dist/2020.js'.Fix:
portable-contracts.ymlrunsnpm ciinpackages/eve-contractsbefore the matrix package's own install (skipped for the eve-contracts leg itself). No package or lockfile change;runs-onis unchanged (the label change is Thing PR #2).Reproduced in a scratch tree at main:
npm cithennpm testin eve-browser-lowering fails with TS2307; afternpm ciin eve-contracts first, eve-browser-lowering passes (23 pass, 0 fail) and the eve-contracts leg passes (10 pass, 0 fail). The workflow was not run on the forge.Separate, not in this PR: the runner image has no
pwsh, so theshell: pwshstep ("Reject stale generated output") exits 127 on the runner (Eureka's image).🤖 Generated with Claude Code
Closing as redundant: the eve-contracts install fix is on #2 as
27161af, and #2 makes the Windows leg dispatch-only. Closing also cancels run 921 (its windows-latest jobs have no runner).Pull request closed