Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ jobs:
- uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- uses: actions/setup-node@v6.3.0
with:
node-version: 22
cache: npm
# ci-scope.mjs delegates project ownership to `nx show projects --affected`
# (introduced in PR 2 of the ci-scope thin-shim migration), which requires
# nx + the workspace's plugins to be installed. npm ci needs ~15-30s with
# the npm cache warm; ~60s cold. This is the one-time-per-PR cost of using
# nx's project graph as the source of truth instead of a hand-maintained
# classifier walk.
- run: npm ci
- name: Test CI scope classifier
run: node --test scripts/ci-scope.spec.mjs
- name: Detect changed CI surfaces
Expand Down
22 changes: 21 additions & 1 deletion apps/cockpit/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@
"production": {
"outputPath": "dist/apps/cockpit"
}
}
},
"inputs": [
"default",
"deploymentConfig",
"^default"
]
},
"serve": {
"executor": "@nx/next:server",
Expand Down Expand Up @@ -215,5 +220,20 @@
"cwd": "."
}
}
},
"namedInputs": {
"deploymentConfig": [
"{workspaceRoot}/vercel.cockpit.json",
"{workspaceRoot}/vercel.examples.json",
"{workspaceRoot}/vercel.demo.json",
"{workspaceRoot}/scripts/assemble-demo.ts",
"{workspaceRoot}/scripts/assemble-examples.ts",
"{workspaceRoot}/scripts/demo-middleware.ts",
"{workspaceRoot}/scripts/langgraph-proxy.ts",
"{workspaceRoot}/scripts/rate-limit.ts",
"{workspaceRoot}/apps/cockpit/scripts/deploy-smoke.ts",
"{workspaceRoot}/scripts/generate-shared-deployment-config.ts",
"{workspaceRoot}/apps/cockpit/scripts/capability-registry.ts"
]
}
}
12 changes: 11 additions & 1 deletion apps/website/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@
"production": {
"outputPath": "dist/apps/website"
}
}
},
"inputs": [
"default",
"deploymentConfig",
"^default"
]
},
"serve": {
"executor": "@nx/next:server",
Expand Down Expand Up @@ -64,5 +69,10 @@
"config": "apps/website/playwright.config.ts"
}
}
},
"namedInputs": {
"deploymentConfig": [
"{workspaceRoot}/vercel.json"
]
}
}
Loading
Loading