TZK-2: pnpm store в .cache/ci, .pnpm-store и .cache вне Biome
All checks were successful
peppa/lint lint: success за 0с
peppa/typecheck typecheck: success за 1с
peppa/test test: success за 1с
peppa/build build: success за 1с
ci / checks (pull_request) Successful in 8s

На раннере pnpm клал store в рабочую копию, и lint проверял его файлы.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Peppa 2026-11-14 16:31:33 +05:00
parent 0fb696ce9f
commit 5c21853c9e
3 changed files with 16 additions and 1 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ data/
*.db-wal
*.db-shm
.cache/
.pnpm-store/

View File

@ -1,7 +1,19 @@
{
"$schema": "https://biomejs.dev/schemas/2.6.7/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": { "includes": ["**", "!dist", "!data", "!openspec", "!.agents", "!.claude", "!.peppa"] },
"files": {
"includes": [
"**",
"!dist",
"!data",
"!openspec",
"!.agents",
"!.claude",
"!.peppa",
"!.cache",
"!.pnpm-store"
]
},
"formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2, "lineWidth": 100 },
"linter": { "enabled": true, "rules": { "preset": "recommended" } },
"assist": { "enabled": true, "actions": { "source": { "organizeImports": "on" } } }

View File

@ -11,6 +11,8 @@ PNPM_VERSION=10.18.0
root="$(cd "$(dirname "$0")/.." && pwd)"
cache="$root/.cache/ci"
export PATH="$cache/pnpm/bin:$cache/node/bin:$PATH"
# Store pnpm — в кэше, а не в рабочей копии (иначе его сканирует Biome).
export npm_config_store_dir="${npm_config_store_dir:-$cache/pnpm-store}"
node_ok() {
command -v node >/dev/null 2>&1 &&