File tree Expand file tree Collapse file tree 1 file changed +4
-34
lines changed Expand file tree Collapse file tree 1 file changed +4
-34
lines changed Original file line number Diff line number Diff line change 33 pull_request :
44 push :
55 branches :
6- - master
7- - main
8- - develop
6+ - naga
7+ - canary-naga
98jobs :
109 linter :
1110 runs-on : ubuntu-latest
3231 - name : Install project dependencies
3332 run : bun install
3433
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-
5234 - name : Lint
5335 run : |
54- echo "Running format check..."
55- # Use prettier directly to avoid NX git issues
56- npx prettier --check . || {
57- echo "Format check failed. Running prettier --write to fix issues..."
58- npx prettier --write .
59- echo "Checking again after formatting..."
60- npx prettier --check . || {
61- echo "Still failing after auto-format. Manual intervention needed."
62- exit 1
63- }
64- echo "Auto-formatting successful. All files are now properly formatted."
65- echo "Note: Some files were auto-formatted. Consider committing these changes in your next commit."
66- }
67- echo "Format check passed!"
36+ echo "Running workspace format check..."
37+ NX_DAEMON=false bun run format:check
You can’t perform that action at this time.
0 commit comments