ci(docs): Optimise build performance with caching and Node.js 22 #988
No reviewers
Labels
No labels
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status/Blocked
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
To-Merge
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!988
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "tom/micro-optimise-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Use the runner's pre-installed Node.js v22 instead of downloading v20, saving ~28s per build.
Add npm dependency caching with OS-specific cache keys using the custom detect-runner-os action for proper cache isolation between runners.
Dependencies normally take just under 10s, so this should more than halve the doc build time to free up runner slots.
9ef93bc16f2d94e025062d94e02506d640853f9d