ci(screenshot): screenshot generation#12
Merged
Conversation
Owner
FLchs
commented
Mar 9, 2026
- Create new generate-screenshot.yml workflow
- Remove screenshot job from auto-release.yml
- Allow manual trigger and weekly scheduled runs
- Create new generate-screenshot.yml workflow - Remove screenshot job from auto-release.yml - Allow manual trigger and weekly scheduled runs
- Run screenshot workflow on pushes to feat/separate-screenshot-action branch
- Change 'bunx run preview' to 'bun run preview' to correctly run npm script - Update pkill to search for 'vite' instead of 'serve'
- Change viewport size to 672x1193px - Increase wait timeout to 30 seconds
81822f4 to
cea64e6
Compare
- Add id to server-card-content element for targeting - Set viewport to 1024x900px (Tailwind lg breakpoint) - Use element selector to screenshot only card content - Keep 30 second wait timeout
- Add tsx dependency for running TypeScript scripts - Create take-screenshot.ts script to screenshot specific element - Update workflow to use script instead of CLI command - Screenshot #server-card-content element only
- Run screenshot workflow on push to master instead of feat branch - Push screenshot to isolated 'screenshot' branch to avoid polluting main - Update README to reference screenshot from screenshot branch - Remove weekly schedule trigger
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.