n8n/.github/workflows
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
..
backport.yml ci: Don't limit backport checkout depth (#35567) 2026-08-05 08:47:06 +03:00
build-base-image.yml ci: Run PR pipeline on Node 26 (#34032) 2026-08-14 07:54:25 +00:00
build-benchmark-image.yml ci: Update GitHub Actions to latest versions for Node.js 24 compatibility (#26949) 2026-03-12 14:01:53 +00:00
build-node-pc-image.yml ci: Build node-pc runtime on n8nio/base image (#36284) 2026-08-14 10:15:51 +00:00
build-v3-nightly.yml ci: Publish a weekly release candidate from the 3.x branch (#35741) 2026-08-11 06:36:28 +00:00
build-windows.yml ci: Improve Windows build resilience with retry and concurrency cap (#33194) 2026-06-29 09:07:23 +00:00
ci-check-pr-title.yml ci: Bump PR title action to v2.5.0 and document engine scope (#36514) 2026-08-18 12:41:03 +00:00
ci-check-release-from-fork.yml ci: Prevent forks from targeting release/** (#26975) 2026-03-13 09:29:41 +00:00
ci-cla-check.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
ci-codeowners-validation.yml chore: Run pnpm format (#32369) 2026-06-16 11:06:07 +00:00
ci-detect-new-packages.yml ci: Ping release captain on new package hitting master (#35504) 2026-08-04 09:58:47 +00:00
ci-instance-ai-evals.yml fix(core): Ignore undeclared fields in agent resume payloads (#35607) 2026-08-06 08:06:04 +00:00
ci-master.yml chore: Add single-instance dependency duplication checks (#34681) 2026-08-17 07:39:48 +00:00
ci-mcp-evals.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
ci-owners-assign-reviewers.yml chore: Remove Renovate config from the repo (#35541) 2026-08-05 09:33:59 +00:00
ci-owners-review-recommendations.yml chore: Remove Renovate config from the repo (#35541) 2026-08-05 09:33:59 +00:00
ci-pr-quality.yml chore: Remove Renovate config from the repo (#35541) 2026-08-05 09:33:59 +00:00
ci-pull-request-review.yml ci: Rename storybook and chromatic workflows (#33543) 2026-07-06 11:05:57 +00:00
ci-pull-requests.yml test(editor): Ratchet shell modal keys and catch lost registrations in CI (no-changelog) (#36324) 2026-08-17 12:55:00 +00:00
ci-python.yml ci: Stabilise Codecov uploads and tighten coverage scope (no-changelog) (#30844) 2026-05-21 08:27:19 +00:00
ci-restrict-private-merges.yml ci: Allow only bundles to 1.x (#28401) 2026-04-20 11:55:35 +00:00
clean-stale-branches.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
community-pr-close-stale.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
docker-build-push.yml ci: Build the Kafka native binding on the Docker image's Node version (#36306) 2026-08-14 11:36:28 +00:00
docker-build-smoke.yml ci: Build the Kafka native binding on the Docker image's Node version (#36306) 2026-08-14 11:36:28 +00:00
mutation-health-nightly.yml build: Bump Node.js to 24.18.1 and 22.23.2 (#35516) 2026-08-04 14:15:22 +01:00
prepare-docker-reusable.yml ci: Move to useblacksmith/checkout to reduce git checkout flakes (#31336) 2026-05-29 11:11:44 +00:00
release-build-daytona-snapshot.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
release-chromatic.yml ci: Snapshot Chromatic on master to establish TurboSnap baselines (#35050) 2026-07-28 14:37:12 +00:00
release-create-experiment.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
release-create-github-releases.yml ci: Optimize .github/scripts runs via caching and reduced checkout depth (#30691) 2026-05-19 09:35:58 +00:00
release-create-minor-pr.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
release-create-patch-pr.yml ci: Refactor patch creation force logic (#32304) 2026-06-16 13:51:14 +03:00
release-create-pr.yml ci: Remove corepack from release pipeline (#36481) 2026-08-18 11:00:44 +03:00
release-merge-tag-to-branch.yml ci: Harden Slack notification steps in release workflows (#30754) 2026-05-20 06:05:57 +00:00
release-populate-cloud-with-releases.yml ci: Optimize .github/scripts runs via caching and reduced checkout depth (#30691) 2026-05-19 09:35:58 +00:00
release-promote-backport-labels.yml ci: Reconcile backport labels on minor release (#33451) 2026-07-02 14:39:51 +00:00
release-promote-github-release.yml ci: Optimize .github/scripts runs via caching and reduced checkout depth (#30691) 2026-05-19 09:35:58 +00:00
release-publish-new-package.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
release-publish-post-release.yml ci: Pin standalone package latest dist-tag to newest beta (no-changelog) (#34770) 2026-07-23 12:57:54 +00:00
release-publish.yml ci: Ping release captain when release fails (#34121) 2026-07-14 07:47:59 +00:00
release-push-to-channel.yml build: Bump Node.js to 24.18.1 and 22.23.2 (#35516) 2026-08-04 14:15:22 +01:00
release-schedule-patch-prs.yml ci: Comment out schedules from release workflows (#33223) 2026-06-29 12:32:50 +00:00
release-set-stable-npm-packages-to-latest.yml ci: Optimize .github/scripts runs via caching and reduced checkout depth (#30691) 2026-05-19 09:35:58 +00:00
release-standalone-package.yml build: Bump Node.js to 24.18.1 and 22.23.2 (#35516) 2026-08-04 14:15:22 +01:00
release-storybook.yml ci: Rename storybook and chromatic workflows (#33543) 2026-07-06 11:05:57 +00:00
release-update-pointer-tag.yml ci: Optimize .github/scripts runs via caching and reduced checkout depth (#30691) 2026-05-19 09:35:58 +00:00
release-version-release-notification.yml ci: Optimize .github/scripts runs via caching and reduced checkout depth (#30691) 2026-05-19 09:35:58 +00:00
sbom-generation-callable.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
sec-ci-reusable.yml chore: Add zizmor security scanning (#31990) 2026-06-25 12:45:03 +00:00
sec-poutine-reusable.yml ci: Move to useblacksmith/checkout to reduce git checkout flakes (#31336) 2026-05-29 11:11:44 +00:00
sec-publish-fix-1x.yml ci: Unify Slack notifications across workflows (#30483) 2026-05-15 09:21:42 +00:00
sec-publish-fix.yml ci: Unify Slack notifications across workflows (#30483) 2026-05-15 09:21:42 +00:00
sec-sync-bundle-branches.yml ci: Merge the base into the bundle branches instead of replaying them (no-changelog) (#36389) 2026-08-17 09:43:27 +03:00
sec-sync-public-to-private.yml ci: Merge the base into the bundle branches instead of replaying them (no-changelog) (#36389) 2026-08-17 09:43:27 +03:00
sec-zizmor-reusable.yml chore: Add zizmor security scanning (#31990) 2026-06-25 12:45:03 +00:00
security-trivy-scan-callable.yml chore: Persist Trivy scan results as a build artifact (#35506) 2026-08-04 10:41:45 +00:00
test-bench-reusable.yml ci: Pin benchmark job to Node 24 (no-changelog) (#36339) 2026-08-14 15:30:52 +00:00
test-benchmark-destroy-nightly.yml ci: Update GitHub Actions to latest versions for Node.js 24 compatibility (#26949) 2026-03-12 14:01:53 +00:00
test-benchmark-nightly.yml ci: Unify Slack notifications across workflows (#30483) 2026-05-15 09:21:42 +00:00
test-db-reusable.yml chore(ci): Fix silently broken container image pre-pull in DB tests and nightly coverage workflows (#36024) 2026-08-11 15:27:59 +00:00
test-dev-server-smoke-reusable.yml ci: Move to useblacksmith/checkout to reduce git checkout flakes (#31336) 2026-05-29 11:11:44 +00:00
test-e2e-coverage-nightly.yml chore(ci): Alert #alerts-build when the E2E coverage nightly fails (#36338) 2026-08-14 15:31:48 +00:00
test-e2e-helm.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
test-e2e-infrastructure-reusable.yml ci: Publish sizing-matrix artifacts and make aggregator (#32726) 2026-06-22 12:32:37 +00:00
test-e2e-performance-reusable.yml test: Add canvas performance benchmarks (no-changelog) (#31222) 2026-06-05 08:37:30 +00:00
test-e2e-reusable.yml feat(core): Make the vm expression engine the default (#35738) 2026-08-07 09:55:26 +00:00
test-evals-ai-release.yml ci(core): Add automated AI workflow builder evaluations (#24582) 2026-01-21 15:30:45 +00:00
test-evals-ai-reusable.yml ci: Reduce eval secret exposure on test-evals-ai-reusable (#31347) 2026-05-29 09:17:54 +00:00
test-evals-ai.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
test-evals-discovery.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
test-evals-instance-ai.yml feat(core): Improve Instance AI model experiments (no-changelog) (#35034) 2026-08-13 10:15:03 +00:00
test-evals-mcp.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
test-evals-python.yml ci: Stabilise Codecov uploads and tighten coverage scope (no-changelog) (#30844) 2026-05-21 08:27:19 +00:00
test-get-n8n.yml feat: Extract the get-n8n stack definition into a versioned standalone file (#35620) 2026-08-06 07:00:17 +00:00
test-linting-reusable.yml ci: Run PR pipeline on Node 26 (#34032) 2026-08-14 07:54:25 +00:00
test-single-instance-npm.yml ci: Cache the npm registry metadata the closure check downloads 2026-08-20 10:38:01 +03:00
test-unit-reusable.yml build: Install Kafka binding on fresh clone (#36502) 2026-08-18 14:19:53 +00:00
test-workflow-scripts-reusable.yml ci: Run PR pipeline on Node 26 (#34032) 2026-08-14 07:54:25 +00:00
test-workflows-callable.yml ci: Refactor and optimizes E2E test runs in CI (#28968) 2026-04-24 07:09:32 +00:00
test-workflows-nightly.yml ci: Show workflow_dispatch inputs in workflow run names (#35496) 2026-08-04 09:46:14 +00:00
test-workflows-pr-comment.yml ci: Update GitHub Actions to latest versions for Node.js 24 compatibility (#26949) 2026-03-12 14:01:53 +00:00
util-approve-and-set-automerge.yml ci: Clean up Template Injection surface in Actions (#29354) 2026-04-28 07:44:44 +00:00
util-backport-bundle.yml ci: Add 1.x sync and bundle branch automation for n8n-private (#27594) 2026-03-26 08:32:11 +00:00
util-cleanup-abandoned-release-branches.yml ci: Optimize .github/scripts runs via caching and reduced checkout depth (#30691) 2026-05-19 09:35:58 +00:00
util-cleanup-pr-images.yml ci: Increase stale image limit (#28413) 2026-04-13 12:57:08 +00:00
util-data-tooling.yml ci: Run DB tests against the full supported Postgres range (#35960) 2026-08-11 09:49:07 +00:00
util-determine-current-version.yml ci: Optimize .github/scripts runs via caching and reduced checkout depth (#30691) 2026-05-19 09:35:58 +00:00
util-ensure-release-candidate-branches.yml ci: Optimize .github/scripts runs via caching and reduced checkout depth (#30691) 2026-05-19 09:35:58 +00:00
util-notify-merge-queue-removal.yml ci: Notify PR authors on merge queue removal (no-changelog) (#36207) 2026-08-13 12:20:00 +00:00
util-notify-pr-status.yml ci: Add retry to PR status notification webhook (no-changelog) (#31183) 2026-05-27 08:25:07 +00:00
util-publish-api-schema.yml docs(API): Generate OpenAPI docs from Zod DTOs and PublicApiController decorators (#34540) 2026-08-04 08:00:54 +00:00
util-qa-metrics-comment-reusable.yml chore: Bump QA perf baseline window from 14 to 30 days (#32615) 2026-06-18 19:57:08 +00:00
util-sync-master-to-3x.yml ci: Resolve replay stalls toward 3.x in the master sync (no-changelog) (#35951) 2026-08-10 15:59:28 +03:00
util-update-node-popularity.yml ci: Update GitHub Actions to latest versions for Node.js 24 compatibility (#26949) 2026-03-12 14:01:53 +00:00