-
Notifications
You must be signed in to change notification settings - Fork 229
Update bundlemon to version 3 to fix CI failures on change check #1469
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
Changes from all commits
c05fe10
ecb87bd
cbd4b75
d6bf122
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,11 @@ jobs: | |
| check: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| checks: write | ||
|
|
||
| env: | ||
| BROWSERSLIST_IGNORE_OLD_DATA: true | ||
|
|
||
|
|
@@ -55,7 +60,10 @@ jobs: | |
| run: api-extractor run | ||
|
|
||
| - name: Check bundle size using bundlemon | ||
| run: npx bundlemon@1.4.0 | ||
| if: github.event.pull_request.head.repo.full_name == github.repository | ||
| run: npx bundlemon@3 | ||
| env: | ||
| BUNDLEMON_PROJECT_ID: 630fceda4ed824a9d3733ec0 | ||
| CI_COMMIT_SHA: ${{github.event.pull_request.head.sha || github.sha}} | ||
| BUNDLEMON_PROJECT_ID: 69e5e44cf67d5035af9fd1c0 | ||
| BUNDLEMON_PROJECT_APIKEY: ${{ secrets.BUNDLEMON_PROJECT_APIKEY }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| CI_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} | ||
|
Comment on lines
+66
to
+69
|
||
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.
Using
npx bundlemon@3leaves the workflow non-deterministic because it will pick up whatever the latest 3.x release is at runtime. To make CI reproducible and avoid unexpected breakages, pin to an exact version (or at least a minor/patch range you control).