Skip to content

[stable34] perf(ci): cache npm dependencies in Cypress init job using buildjet cache#60782

Open
backportbot[bot] wants to merge 1 commit into
stable34from
backport/60738/stable34
Open

[stable34] perf(ci): cache npm dependencies in Cypress init job using buildjet cache#60782
backportbot[bot] wants to merge 1 commit into
stable34from
backport/60738/stable34

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 27, 2026

Backport of PR #60738

@backportbot backportbot Bot requested a review from a team as a code owner May 27, 2026 16:28
@backportbot backportbot Bot requested review from Altahrim, ArtificialOwl, CarlSchwan, artonge, kesselb, miaulalala and salmart-dev and removed request for a team May 27, 2026 16:28
@backportbot backportbot Bot added 3. to review Waiting for reviews performance 🚀 tests Related to tests labels May 27, 2026
@backportbot backportbot Bot added this to the Nextcloud 34 milestone May 27, 2026
…ache

The Cypress init job ran npm ci from scratch on every invocation.
Add buildjet cache restore/save steps around npm ci, keyed on
package-lock.json hash, so subsequent runs with unchanged dependencies
skip the registry download entirely.

Uses buildjet/cache (v4.0.2) to match the existing context caching
already in this workflow.

Signed-off-by: Anna Larch <anna@nextcloud.com>
AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala force-pushed the backport/60738/stable34 branch from e03efb3 to f29152c Compare May 28, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews performance 🚀 tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants