Add bundle size check for dependabot (#8600)
This commit is contained in:
1 parent
a4e5f2053d
commit
3ac8e4a4dc
2 files changed
+17
No files matched your search
@@ -45,6 +45,21 @@ jobs:
|
||||
name: dist
|
||||
path: dist
|
||||
|
||||
# This step calls `git reset`
|
||||
# It should be the last step
|
||||
# The cache step might saving the result of master branch, need investigate
|
||||
- name: Check Sizes
|
||||
if: >-
|
||||
github.event_name == 'pull_request' &&
|
||||
(
|
||||
github.actor == 'dependabot' ||
|
||||
contains(github.event.comment.body, '/size')
|
||||
)
|
||||
uses: preactjs/compressed-size-action@v2.0.1
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
compression: none
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user