Skip to content

chore: enhance CI and publish workflows with node compatibility and repository metadata - #4

Merged
saurabhiam merged 8 commits into
mainfrom
chore/added-workflows
Mar 4, 2026
Merged

chore: enhance CI and publish workflows with node compatibility and repository metadata#4
saurabhiam merged 8 commits into
mainfrom
chore/added-workflows

Conversation

@saurabhiam

Copy link
Copy Markdown
Owner
  • Added concurrency settings to CI workflow for better job management.
  • Introduced a new job in CI for testing against multiple Node.js versions (18, 20, 22).
  • Updated publish workflow to include type checking and verification of CJS/ESM exports.
  • Added repository metadata and homepage links to package.json files for core, angular, and react packages.

…epository metadata

- Added concurrency settings to CI workflow for better job management.
- Introduced a new job in CI for testing against multiple Node.js versions (18, 20, 22).
- Updated publish workflow to include type checking and verification of CJS/ESM exports.
- Added repository metadata and homepage links to package.json files for core, angular, and react packages.
@saurabhiam saurabhiam self-assigned this Mar 4, 2026
Comment thread .github/workflows/bundle-size.yml Fixed
…ent access

- Added permissions section to the bundle-size workflow to allow read access to repository contents.
- Using default CodeQL Settings in Repo
- Added ng-package.json and tsconfig.lib.json for Angular package build configuration.
- Updated package.json to include build script and adjust dependencies.
- Enhanced bundle size workflow to measure and report sizes for @markit/angular.
- Improved output formatting in the bundle size report and added PR comment functionality.
- Updated variable names in the bundle size workflow for clarity.
- Improved output formatting in the bundle size report.
- Reformatted the "files" array in the Angular package.json for consistency.
@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

Package Raw Gzipped Limit
@markit/core 27.15 KB 6.60 KB 15 KB
@markit/react 1.88 KB 712 B 3 KB
@markit/angular 6.30 KB 1.94 KB 5 KB

✅ All packages within size limits

- Added a formatting function to convert byte sizes into human-readable formats (B, KB, MB).
- Updated bundle size workflow to use formatted sizes in output and error messages.
- Improved the summary table in the workflow output for better readability.
- Added setup-node action to both bundle-size and CI workflows to specify Node.js version 20.
- Ensured compatibility with the latest features and improvements in Node.js.
- Added Node.js engine requirement to package.json to specify compatibility with version 20 or higher.
- Updated CI workflow to remove Node.js version 18 from the testing matrix, ensuring focus on supported versions 20 and 22.
- Enhanced build step naming for clarity in the CI workflow.
@saurabhiam
saurabhiam merged commit 0d73faf into main Mar 4, 2026
11 checks passed
@saurabhiam
saurabhiam deleted the chore/added-workflows branch March 4, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants