Skip to content
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

ci: Bump CI versions #1082

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

ci: Bump CI versions #1082

wants to merge 4 commits into from

Conversation

rschristian
Copy link
Collaborator

No description provided.

Copy link

changeset-bot bot commented Jun 4, 2024

⚠️ No Changeset found

Latest commit: 67b3a91

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Jun 4, 2024

Size Change: 0 B

Total Size: 25.6 kB

ℹ️ View Unchanged
Filename Size
dist/cli.js 13.5 kB
dist/microbundle.js 12.1 kB

compressed-size-action

@rschristian rschristian marked this pull request as draft June 4, 2024 05:38
@rschristian rschristian mentioned this pull request Jun 4, 2024
Comment on lines -6 to +7
branches-ignore:
- trying.tmp
- staging.tmp
branches:
- master
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Limiting to master else a PR gets a CI run from both push and & pull_request triggers

Comment on lines -19 to -25

- name: compressed-size-action
uses: preactjs/compressed-size-action@v2
with:
pattern: 'test/fixtures/**/dist/!(*.map)'
build-script: 'test'
repo-token: '${{ secrets.GITHUB_TOKEN }}'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know that this is particularly useful, any size difference will be accounted for in the tests already.

@@ -43,7 +42,7 @@ describe('fixtures', () => {

await sleep(1);

const output = await buildDirectory(fixtureDir);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately we need to drop this aspect of the suite. gzip & brotli sizes aren't guaranteed to be stable, not through Node versions or on different systems. As such, I was seeing tests pass locally just fine that would then be 1-2b off on the CI.

Besides, all that this aspect was testing was that the gzip & brotli size estimates were stable, which isn't particularly important. If the expected output is stable, it doesn't really matter to us what the gzip/brotli size ends up being.

@rschristian rschristian marked this pull request as ready for review June 4, 2024 11:12
@rschristian
Copy link
Collaborator Author

Will then need the required CIs to be updated

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.

1 participant