Skip to content

Commit 79854d2

Browse files
committed
copy evm ts in sdk ci
1 parent dd77b78 commit 79854d2

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

evm/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ RUN FOUNDRY_PROFILE=prod forge build
1111
FROM scratch AS foundry-export
1212

1313
COPY --from=builder /app/out .
14+
COPY --from=builder /app/ts ts

evm/ts/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
"build": "npm run build:esm && npm run build:cjs",
3838
"rebuild": "npm run clean && npm run build",
3939
"clean": "rm -rf ./dist",
40-
"generate:test": "typechain --node16-modules --target ethers-v6 --out-dir ethers-ci-contracts '../../evm/out/**/*.json'",
41-
"generate:slim": "ABI_VERSION=`tsx scripts/readVersion.ts` && typechain --node16-modules --target ethers-v6 --out-dir src/ethers-contracts/$ABI_VERSION '../../evm/out/?(WormholeTransceiver.sol|NttManager.sol)/*.json'",
40+
"generate:test": "typechain --node16-modules --target ethers-v6 --out-dir ethers-ci-contracts '../out/**/*.json'",
41+
"generate:slim": "ABI_VERSION=`tsx scripts/readVersion.ts` && typechain --node16-modules --target ethers-v6 --out-dir src/ethers-contracts/$ABI_VERSION '../out/?(WormholeTransceiver.sol|NttManager.sol)/*.json'",
4242
"generate": "npm run generate:slim",
4343
"build:contracts": "cd ../.. && make build-evm-prod",
4444
"test": "jest --config ./jest.config.ts"

sdk/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ COPY --from=ntt-solana-contract /usr/src/solana/tsconfig.cjs.json solana/tsconfi
99
COPY --from=ntt-solana-contract /usr/src/solana/target/idl solana/target/idl
1010
COPY --from=ntt-solana-contract /usr/src/solana/target/types solana/target/types
1111

12+
COPY --from=ntt-evm-contract ts evm/ts
1213
COPY --from=ntt-evm-contract . evm/out
1314

15+
RUN rm -rf evm/out/ts
16+
17+
1418
COPY . ./
1519
RUN --mount=type=cache,uid=1000,gid=1000,target=/home/node/.npm \
1620
npm ci

0 commit comments

Comments
 (0)