mirror of
https://github.com/redwoodjs/local-ci.git
synced 2026-09-19 07:54:29 +08:00
417bd260b6
* Support private workflow container images * Resolve private image expression contexts * feat: rename Agent CI to Local CI
34 lines
964 B
JSON
34 lines
964 B
JSON
{
|
|
"name": "Local CI",
|
|
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22",
|
|
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
|
|
"ghcr.io/devcontainers/features/github-cli:1": {}
|
|
},
|
|
|
|
"remoteUser": "node",
|
|
|
|
"mounts": [
|
|
"source=local-ci-pnpm-store,target=/home/node/.local/share/pnpm/store,type=volume",
|
|
"source=${localEnv:HOME}/.claude.json,target=/home/node/.claude.json,type=bind",
|
|
"source=${localEnv:HOME}/.claude,target=/home/node/.claude,type=bind"
|
|
],
|
|
|
|
"containerEnv": {
|
|
"PNPM_HOME": "/home/node/.local/share/pnpm",
|
|
"CLAUDE_CONFIG_DIR": "/home/node/.claude"
|
|
},
|
|
|
|
"postCreateCommand": "corepack enable && pnpm install && npm install -g @anthropic-ai/claude-code",
|
|
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": ["ms-vscode.vscode-typescript-next", "oxc.oxc-vscode"],
|
|
"settings": {
|
|
"typescript.tsdk": "node_modules/typescript/lib"
|
|
}
|
|
}
|
|
}
|
|
}
|