mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 08:43:21 +08:00
chore: recover bundlewatch (#3829)
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
parent
069677b2e3
commit
34a04b0746
13
.bundlewatch.config.json
Normal file
13
.bundlewatch.config.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"files": [
|
||||
{
|
||||
"path": "./framework/core/js/dist/*.js",
|
||||
"maxSize": "150KB"
|
||||
},
|
||||
{
|
||||
"path": "./extensions/*/js/dist/*.js",
|
||||
"maxSize": "30KB"
|
||||
}
|
||||
],
|
||||
"defaultCompression": "gzip"
|
||||
}
|
1
.github/workflows/REUSABLE_frontend.yml
vendored
1
.github/workflows/REUSABLE_frontend.yml
vendored
|
@ -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 }}
|
||||
|
|
3
.github/workflows/frontend.yml
vendored
3
.github/workflows/frontend.yml
vendored
|
@ -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 }}
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"files": [
|
||||
{
|
||||
"path": "./dist/*.js"
|
||||
}
|
||||
],
|
||||
"defaultCompression": "gzip"
|
||||
}
|
Loading…
Reference in New Issue
Block a user