-
Notifications
You must be signed in to change notification settings - Fork 223
ci: cache Vite Task output for docs builds #2006
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+55
−2
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
3edb0c8
ci(docs): enable cached docs build task
wan9chi ea8ea96
build(netlify): remove Node version override
wan9chi d410ab0
build(docs): trim build cache inputs
wan9chi 5fa8b84
build(docs): restore Vite temp cache exclusion
wan9chi 43c4292
build(docs): rely on tracked build outputs
wan9chi 4ed06e0
ci(docs): cache task builds in Actions
wan9chi a0ffeef
ci(docs): run deploy build once
wan9chi b5b5bd7
build(docs): ignore Vite temp directory listing
wan9chi a129dfd
ci(docs): clarify task cache steps
wan9chi 1b66ae6
build(docs): restore build output tracking
wan9chi f89f484
ci(docs): document task cache restore order
wan9chi 83d4429
build(docs): remove redundant Vite temp input
wan9chi 79ffad1
ci(docs): use pkg.pr.new Vite+ for docs cache
wan9chi 7b7f75f
build(docs): set explicit build output
wan9chi a8e3267
ci(docs): use released Vite+ for deploy builds
wan9chi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| export default { | ||
| run: { | ||
| tasks: { | ||
| 'build:site': { | ||
| command: 'vitepress build', | ||
| input: [ | ||
| { auto: true }, | ||
| '!.vitepress/.temp/**', | ||
| '!.vitepress/dist/**', | ||
| '!node_modules', | ||
| '!node_modules/.vite-temp/**', | ||
| ], | ||
| output: ['.vitepress/dist/**'], | ||
| }, | ||
| }, | ||
| }, | ||
| }; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.