For CI/CD, make builds deterministic and ensure verification steps actually run.
package.json (e.g., caret), but require CI to install using a frozen/pinned lockfile so the resolved versions are consistent across runs.
"@ai-sdk/amazon-bedrock": "^5.x" in package.json, but configure CI to install with a frozen lockfile (so CI uses exactly what’s in lockfile for that PR).package.json test script, update the CI workflow so it executes.
package.json:
{
"scripts": {
"test:desktop-client": "vitest run webview/lib/desktop-client.test.ts --config vitest.config.ts"
}
}
bun run test:desktop-client (or the equivalent for your runner).cargo test)—don’t assume they run automatically.This prevents “it passed locally” issues from both nondeterministic dependency resolution and missing CI verification steps.