Skip to content

Commit 1c2ac11

Browse files
authored
Update ci-cd.yml
debug test file discovery
1 parent 04dd5e2 commit 1c2ac11

File tree

1 file changed

+10
-19
lines changed

1 file changed

+10
-19
lines changed

.github/workflows/ci-cd.yml

+10-19
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,15 @@ jobs:
2727
cache: 'npm'
2828
- run: npm ci
2929
- run: npm run build --if-present
30-
- name: Debug
31-
run: find src -name "*.spec.ts" | sort
30+
- name: Debug repository structure
31+
run: |
32+
echo "All .spec.ts files in repository:"
33+
find . -name "*.spec.ts" | sort
34+
echo "Directory structure of src/modules:"
35+
ls -la src/modules || echo "modules directory not found"
36+
echo "Auth module structure (if exists):"
37+
ls -la src/modules/auth || echo "auth directory not found"
38+
echo "Test directory structure (if exists):"
39+
ls -la src/modules/auth/test || echo "test directory not found"
3240
- run: npm test
3341

34-
build:
35-
name: Build
36-
needs: test
37-
runs-on: ubuntu-latest
38-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
39-
40-
steps:
41-
- uses: actions/checkout@v3
42-
- name: Use Node.js
43-
uses: actions/setup-node@v3
44-
with:
45-
node-version: '18.x'
46-
cache: 'npm'
47-
- name: Install dependencies
48-
run: npm ci
49-
- name: Build
50-
run: npm run build

0 commit comments

Comments
 (0)