From 1dd575af0adedbd4ea370e3eaf8a480e45106eba Mon Sep 17 00:00:00 2001 From: Nadeem Patwekar Date: Wed, 5 Nov 2025 17:44:31 +0530 Subject: [PATCH] chore: add debugging steps to CI workflow and update test command in package.json --- .github/workflows/ci.yml | 18 +++++++++++++++++- .talismanrc | 2 ++ package.json | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac573fd..84731e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.talismanrc b/.talismanrc index 684d117..d282969 100644 --- a/.talismanrc +++ b/.talismanrc @@ -10,3 +10,5 @@ fileignoreconfig: checksum: 5baabd7d2c391648163f9371f0e5e9484f8fb90fa2284cfc378732ec3192c193 - filename: src/endpoints.ts checksum: 721a1df93b02d04c1c19a76c171fe2748e4abb1fc3e43452e76fecfd8f384751 +- filename: package.json + checksum: 033eb21070795be5b426183f52d784347110fcb724bc9f8d63f94898ac5f0086 \ No newline at end of file diff --git a/package.json b/package.json index 00a7490..f747970 100644 --- a/package.json +++ b/package.json @@ -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",