n8n/.github
Matsuuu d81a6b80b3
ci: Cache the npm registry metadata the closure check downloads
Resolving the scratch graph downloads a registry packument for every name in
it. Measured with a cold npm cache: 149MB for a 413-package closure, and
853MB for a full one. Both the real install and `--package-lock-only` pay this
— it is the dominant cost of the step once the tarball bodies are gone, so it
is what is worth caching.

Keyed on the pnpm lockfile rather than the run id, so an entry is written once
per dependency change. This cache shares a 10GB repo-wide budget with the pnpm
store caches, and a per-run key would evict them.

No `--prefer-offline`: a restored entry is revalidated, so a third-party
release published since the entry was written still changes the resolution.
Conditional requests cost a fraction of the bodies.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-20 10:38:01 +03:00
..
actions ci: Remove unnecessary Kafka cleanup in setup-nodejs (#36401) 2026-08-17 09:42:00 +00:00
ISSUE_TEMPLATE feat: Update default Node.js version to v24 (#25707) 2026-02-13 10:56:01 +00:00
poutine-rules ci: Add poutine custom rule for unpinned GitHub Actions detection (#24577) 2026-01-20 15:10:04 +00:00
scripts build: Install Kafka binding on fresh clone (#36502) 2026-08-18 14:19:53 +00:00
test-metrics chore: Update e2e impact map (#36555) 2026-08-19 03:15:41 +00:00
workflows ci: Cache the npm registry metadata the closure check downloads 2026-08-20 10:38:01 +03:00
actionlint.yml ci: Add node-pc base image with pointer-compressed Node.js (#35756) 2026-08-11 09:59:36 +00:00
CI-TELEMETRY.md fix: Make QA metrics telemetry truly fire-and-forget (#32597) 2026-06-18 16:36:30 +00:00
CLAUDE.md ci: Guard weekly minor release PR creation with a cadence check (#35165) 2026-07-31 06:46:42 +00:00
CODEOWNERS chore: Add dummy get-n8n.sh script (#34157) 2026-07-14 15:37:46 +03:00
DEVELOPING_V3.md ci: Publish a weekly release candidate from the 3.x branch (#35741) 2026-08-11 06:36:28 +00:00
docker-compose.yml ci: Run DB tests against the full supported Postgres range (#35960) 2026-08-11 09:49:07 +00:00
OWNERS chore: Move instance MCP ownership to Adore (#35815) 2026-08-07 08:15:32 +00:00
pull_request_template.md chore: Enhance PR template with testing instructions (no-changelog) (#31696) 2026-06-04 08:11:11 +00:00
pull_request_title_conventions.md docs: Add engine scope to PR title conventions (no-changelog) (#36434) 2026-08-17 11:55:49 +00:00
WORKFLOWS.md chore: Add single-instance dependency duplication checks (#34681) 2026-08-17 07:39:48 +00:00