CI: install eve-contracts dependencies before a package that links it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
27ab8fb543
commit
27161afe9e
1 changed files with 8 additions and 0 deletions
8
.github/workflows/portable-contracts.yml
vendored
8
.github/workflows/portable-contracts.yml
vendored
|
|
@ -33,6 +33,14 @@ jobs:
|
||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: packages/${{ matrix.package }}/package-lock.json
|
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
|
- name: Install package dependencies
|
||||||
working-directory: packages/${{ matrix.package }}
|
working-directory: packages/${{ matrix.package }}
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue