Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,34 @@ jobs:
checks: write
steps:
- uses: actions/checkout@v3
- name: Check working directory after checkout
run: pwd
- uses: actions/setup-node@v4
with:
node-version: '22.x'
- run: npm ci
- name: Check working directory after setup-node
run: pwd
- name: Install dependencies
run: |
pwd
npm ci
- name: Download regions.json
run: |
pwd
ls -la
mkdir -p dist/lib
pwd
npm run download-regions
pwd
ls -la dist/lib/ || echo "dist/lib does not exist"
if [ ! -f dist/lib/regions.json ]; then
echo "Error: regions.json was not downloaded successfully"
exit 1
fi
- name: Check working directory before tests
run: |
pwd
ls -la
- uses: ArtiomTr/jest-coverage-report-action@v2
id: coverage-utils-js
continue-on-error: true
Expand Down
2 changes: 2 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ fileignoreconfig:
checksum: 5baabd7d2c391648163f9371f0e5e9484f8fb90fa2284cfc378732ec3192c193
- filename: src/endpoints.ts
checksum: 721a1df93b02d04c1c19a76c171fe2748e4abb1fc3e43452e76fecfd8f384751
- filename: package.json
checksum: 033eb21070795be5b426183f52d784347110fcb724bc9f8d63f94898ac5f0086
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"clear:reports": "rm -rf reports",
"clear:badges": "rm -rf badges",
"pretest": "npm run build",
"test": "npm run clear:reports && jest --ci --json --coverage --testLocationInResults --outputFile=./reports/report.json",
"test": "npm run clear:reports && pwd && jest --ci --json --coverage --testLocationInResults --outputFile=./reports/report.json",
"test:badges": "npm run clear:badges && npm run test && jest-coverage-badges --input ./reports/coverage/coverage-summary.json --output ./badges",
"test:debug": "jest --watchAll --runInBand",
"prebuild": "rimraf dist && mkdir -p dist/lib && npm run download-regions",
Expand Down
Loading