Skip to content

Commit

Permalink
Merge branch 'main' into chore/bump-profile-sync-controller-to-3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuartu authored Jan 10, 2025
2 parents 8d42185 + 46bf1cf commit d2a981b
Show file tree
Hide file tree
Showing 5 changed files with 331 additions and 588 deletions.
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ workflows:
- user-actions-benchmark:
requires:
- prep-build-test
- bundle-size:
requires:
- prep-build-test
- job-publish-prerelease:
requires:
- prep-deps
Expand All @@ -294,6 +297,7 @@ workflows:
- prep-build-ts-migration-dashboard
- benchmark
- user-actions-benchmark
- bundle-size
- all-tests-pass
- job-publish-release:
filters:
Expand Down Expand Up @@ -1270,6 +1274,36 @@ jobs:
paths:
- test-artifacts

bundle-size:
executor: node-browsers-small
steps:
- run: *shallow-git-clone-and-enable-vnc
- run: sudo corepack enable
- attach_workspace:
at: .
- run:
name: Move test build to dist
command: mv ./dist-test ./dist
- run:
name: Move test zips to builds
command: mv ./builds-test ./builds
- run:
name: Measure bundle size
command: yarn bundle-size --out test-artifacts/chrome
- run:
name: Install jq
command: sudo apt install jq -y
- run:
name: Record bundle size at commit
command: ./.circleci/scripts/bundle-stats-commit.sh
- store_artifacts:
path: test-artifacts
destination: test-artifacts
- persist_to_workspace:
root: .
paths:
- test-artifacts

job-publish-prerelease:
executor: node-browsers-medium
steps:
Expand Down
Loading

0 comments on commit d2a981b

Please sign in to comment.