From 923b53a748a4f4d46976ea793b65dcd138483e6e Mon Sep 17 00:00:00 2001 From: Kirill Kuvshinov Date: Thu, 28 Dec 2023 13:16:13 +0300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Corey Rice <7258308+coreyar@users.noreply.github.com> --- .github/workflows/ci.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index da376d15..752af653 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,6 +31,7 @@ jobs: runs-on: ubuntu-22.04 env: NODE_OPTIONS: --max-old-space-size=4096 + continue-on-error: ${{ matrix.experimental }} steps: - uses: actions/checkout@v2 @@ -112,11 +113,12 @@ jobs: run: YARN_CHECKSUM_BEHAVIOR=update yarn - name: Export deployments + continue-on-error: true run: | - yarn hardhat export --network bsctestnet --export ./deployments/bsctestnet.json - yarn hardhat export --network bscmainnet --export ./deployments/bscmainnet.json - yarn hardhat export --network sepolia --export ./deployments/sepolia.json - yarn hardhat export --network ethereum --export ./deployments/ethereum.json +for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet; do + EXPORT=true yarn hardhat export --network ${NETWORK} --export ./deployments/${NETWORK}.json + jq -M '{name, chainId, addresses: .contracts | map_values(.address)}' ./deployments/${NETWORK}.json > ./deployments/${NETWORK}_addresses.json + done yarn prettier - uses: stefanzweifel/git-auto-commit-action@v5 with: