From 2793b3288e60e5a1b821964a96c8c1c5488d997f Mon Sep 17 00:00:00 2001 From: Nadeem Patwekar Date: Tue, 4 Nov 2025 15:35:17 +0530 Subject: [PATCH] feat: add workflow step to download regions.json file --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41be136..7cd3171 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,14 @@ jobs: with: node-version: '22.x' - run: npm ci + - name: Download regions.json + run: | + mkdir -p dist/lib + npm run download-regions + if [ ! -f dist/lib/regions.json ]; then + echo "Error: regions.json was not downloaded successfully" + exit 1 + fi - uses: ArtiomTr/jest-coverage-report-action@v2 id: coverage-utils-js continue-on-error: true