Skip to content

Commit 2793b32

Browse files
committed
feat: add workflow step to download regions.json file
1 parent 72a0c5e commit 2793b32

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ jobs:
1919
with:
2020
node-version: '22.x'
2121
- run: npm ci
22+
- name: Download regions.json
23+
run: |
24+
mkdir -p dist/lib
25+
npm run download-regions
26+
if [ ! -f dist/lib/regions.json ]; then
27+
echo "Error: regions.json was not downloaded successfully"
28+
exit 1
29+
fi
2230
- uses: ArtiomTr/jest-coverage-report-action@v2
2331
id: coverage-utils-js
2432
continue-on-error: true

0 commit comments

Comments
 (0)