File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 3232 - name : Install project dependencies
3333 run : bun install
3434
35+ - name : Debug Git and Environment
36+ run : |
37+ echo "Current branch:"
38+ git branch --show-current
39+ echo "Available branches:"
40+ git branch -a
41+ echo "Git remotes:"
42+ git remote -v
43+ echo "Last 3 commits:"
44+ git log --oneline -3
45+ echo "Git status:"
46+ git status
47+ echo "NX configuration:"
48+ cat nx.json | head -10
49+ echo "Prettier configuration:"
50+ cat .prettierrc
51+
3552 - name : Lint
36- run : bun run nx format:check --all
53+ run : |
54+ echo "Running format check with verbose output..."
55+ bun run nx format:check --all --verbose || {
56+ echo "===== FORMAT CHECK FAILED ====="
57+ echo "Trying alternative approaches..."
58+ echo "1. Checking with npx prettier directly:"
59+ npx prettier --check README.md || echo "Prettier check on README.md failed"
60+ echo "2. Checking with basic NX command:"
61+ bun run nx format:check README.md || echo "NX format check on README.md failed"
62+ echo "3. Trying without --all flag:"
63+ bun run nx format:check || echo "NX format check without --all failed"
64+ echo "4. Running format write and checking again:"
65+ bun run nx format:write --all || echo "Format write failed"
66+ bun run nx format:check --all || echo "Format check after write still failed"
67+ echo "===== END DEBUG ====="
68+ exit 1
69+ }
You can’t perform that action at this time.
0 commit comments