Skip to content

Commit a7eade4

Browse files
jonphippsclaude
andcommitted
fix: remove unsupported --ci flags causing CI build failures
- Remove --ci flags from nx affected commands in GitHub Actions workflow - Add workspace root build target to prevent nx run-many build failures - Fixes tsc, tsup, and vitest unknown option errors in CI 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 386e62a commit a7eade4

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/nx-optimized-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ jobs:
5757
pids=()
5858
5959
# Type checking
60-
npx nx affected --target=typecheck --parallel=3 --ci --verbose & pids+=($!)
60+
npx nx affected --target=typecheck --parallel=3 --verbose & pids+=($!)
6161
6262
# Linting
63-
npx nx affected --target=lint --parallel=3 --ci --verbose & pids+=($!)
63+
npx nx affected --target=lint --parallel=3 --verbose & pids+=($!)
6464
6565
# Unit tests
66-
npx nx affected --target=test --parallel=3 --ci --verbose & pids+=($!)
66+
npx nx affected --target=test --parallel=3 --verbose & pids+=($!)
6767
6868
# Build affected projects
69-
npx nx affected --target=build --parallel=3 --ci --verbose & pids+=($!)
69+
npx nx affected --target=build --parallel=3 --verbose & pids+=($!)
7070
7171
# Wait for all jobs to complete
7272
for pid in "${pids[@]}"; do

project.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@
141141
"parallel": false
142142
},
143143
"cache": true
144+
},
145+
"build": {
146+
"executor": "nx:run-commands",
147+
"options": {
148+
"command": "echo 'Workspace root - no build needed'"
149+
},
150+
"cache": true
144151
}
145152
}
146153
}

0 commit comments

Comments
 (0)