chore: recover bundlewatch (#3829)

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz 2023-05-28 12:16:45 +01:00 committed by GitHub
parent 069677b2e3
commit 34a04b0746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 10 deletions

13
.bundlewatch.config.json Normal file
View File

@ -0,0 +1,13 @@
{
"files": [
{
"path": "./framework/core/js/dist/*.js",
"maxSize": "150KB"
},
{
"path": "./extensions/*/js/dist/*.js",
"maxSize": "30KB"
}
],
"defaultCompression": "gzip"
}

View File

@ -152,3 +152,4 @@ jobs:
env:
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.bundlewatch_github_token }}
CI_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
CI_BRANCH_BASE: ${{ github.event.pull_request.base.ref }}

View File

@ -12,8 +12,7 @@ jobs:
cache_dependency_path: ./yarn.lock
main_git_branch: main
enable_tests: true
# @TODO: fix bundlewatch
enable_bundlewatch: false
enable_bundlewatch: true
secrets:
bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}

View File

@ -1,8 +0,0 @@
{
"files": [
{
"path": "./dist/*.js"
}
],
"defaultCompression": "gzip"
}