Skip to content

Commit 604d565

Browse files
committed
Chore(CI): Add debug steps to tests.yml for linting issue
1 parent a1ffe8b commit 604d565

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

GeoPrivacy/.github/workflows/tests.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15+
- name: List GeoPrivacy/frontend directory content
16+
run: |
17+
echo "Listing GeoPrivacy/frontend:"
18+
ls -la GeoPrivacy/frontend || echo "GeoPrivacy/frontend directory not found or ls failed"
19+
1520
- name: Setup Node.js for Frontend
1621
uses: actions/setup-node@v4
1722
with:
@@ -23,6 +28,17 @@ jobs:
2328
working-directory: ./GeoPrivacy/frontend
2429
run: npm ci
2530

31+
- name: Display package.json content from GeoPrivacy/frontend
32+
working-directory: ./GeoPrivacy/frontend
33+
run: |
34+
echo "--- Content of GeoPrivacy/frontend/package.json (from Action runner) ---"
35+
cat package.json || echo "Failed to cat package.json"
36+
echo "---------------------------------------------------------------------"
37+
38+
- name: List available npm scripts in GeoPrivacy/frontend
39+
working-directory: ./GeoPrivacy/frontend
40+
run: npm run || echo "npm run command failed"
41+
2642
- name: Lint Frontend Code
2743
working-directory: ./GeoPrivacy/frontend
2844
run: npm run lint

0 commit comments

Comments
 (0)