forked from Inspiration/drawnix
ci: optimize workflow execution #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/optimize-workflows"
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?
Summary
fetch-depth: 1) across all CI jobs; base SHA fetched on demand only whennx affectedneeds it.node_modulescached per-job via Forgejo Actions cache;npm cinow runs only on cache miss.NX_BASE=HEAD~1fallback withnx run-manywhen the PR base SHA isn't reachable — correctness over speed when the diff base is unknown.fetch-depth: 1to.github/workflows/publish.ymlcheckout for consistency.Test plan
nx affectedstill resolves correctly when base SHA is fetchable