-
-
Notifications
You must be signed in to change notification settings - Fork 93
feat: github diff action #1313
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
base: main
Are you sure you want to change the base?
feat: github diff action #1313
Conversation
✅ Deploy Preview for rsdoctor ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new GitHub Action package for bundle size diff tracking. The action intelligently handles different GitHub events (merge vs pull request) to upload/download artifacts and generate bundle size comparison reports.
- Implements smart event detection to upload artifacts on merge and download/compare on pull requests
- Creates bundle size comparison reports with baseline data (either from target branch artifacts or demo data)
- Provides artifact management with commit hash-based naming for version tracking
Reviewed Changes
Copilot reviewed 12 out of 14 changed files in this pull request and generated 16 comments.
Show a summary per file
File | Description |
---|---|
packages/action/src/upload.ts | Artifact upload functionality with commit hash naming |
packages/action/src/report.ts | Bundle size report generation and formatting utilities |
packages/action/src/index.ts | Main action logic with event-based workflow handling |
packages/action/src/github.ts | GitHub API service for repository operations and artifact management |
packages/action/src/download.ts | Artifact download and content processing functionality |
packages/action/scripts/download-artifact.js | Standalone script for artifact downloading |
packages/action/rslib.config.ts | Build configuration for the action package |
packages/action/package.json | Package dependencies and build scripts |
packages/action/artifacts/*.json | Sample data files for testing and demo purposes |
packages/action/action.yml | GitHub Action metadata and input definitions |
packages/action/README.md | Comprehensive documentation and usage examples |
packages/action/.gitignore | Git ignore patterns for build artifacts |
Files not reviewed (2)
- packages/action/pnpm-lock.yaml: Language not supported
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
7a8ea4a
to
bc68738
Compare
a3c92a6
to
74a5830
Compare
Summary
Related Links