File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed
Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 2323 ref : ${{ github.event.pull_request.head.sha }}
2424 fetch-depth : 0
2525
26+ - uses : actions/setup-node@v6
27+ with :
28+ node-version : 22
29+
30+ - name : Install Hyperlane CLI
31+ run : npm i -g @hyperlane-xyz/cli@latest
32+
2633 - name : Determine Base & Head SHA
2734 id : determine-base-sha
2835 run : |
3239 - name : Check Warp Deploy
3340 env :
3441 # Only set PR_NUMBER for non-fork PRs (enables PR commenting)
42+ HYPERLANE_SKIP_VERSION_CHECK : ' 1'
3543 PR_NUMBER : ${{ github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.number || '' }}
3644 GITHUB_TOKEN : ${{ steps.generate-token.outputs.token }}
3745 run : |
Original file line number Diff line number Diff line change @@ -46,17 +46,12 @@ EXIT_CODE=0
4646for WARP_ROUTE_ID in $WARP_ROUTE_IDS ; do
4747 export WARP_ROUTE_ID
4848
49- # Check 1: Registry YAML vs on-chain (uses --forceRegistryConfig to read registry directly)
50- if docker run --rm \
51- -e REGISTRY_COMMIT=$HEAD_COMMIT \
52- -e CI=true \
53- ghcr.io/hyperlane-xyz/hyperlane-monorepo:main \
54- ./node_modules/.bin/tsx \
55- ./typescript/infra/scripts/check/check-deploy.ts \
56- -e mainnet3 \
57- -m warp \
58- --warpRouteId " $WARP_ROUTE_ID " \
59- --forceRegistryConfig; then
49+ # Check 1: Registry YAML vs on-chain via published CLI
50+ if hyperlane \
51+ --registry " $( pwd) " \
52+ -y \
53+ warp check \
54+ --warp-route-id " $WARP_ROUTE_ID " ; then
6055 ONCHAIN_STATUS=" ✅"
6156 else
6257 ONCHAIN_STATUS=" ❌"
You can’t perform that action at this time.
0 commit comments