-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: check size limit and cleanPublish script (#422)
- Loading branch information
Showing
5 changed files
with
861 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"packageManager": "yarn" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Checks | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
size: | ||
runs-on: ubuntu-latest | ||
name: Checking size | ||
if: "!contains(github.event.head_commit.message, '[ci skip]')" | ||
env: | ||
CI_JOB_NUMBER: 1 | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v2 | ||
- name: Check size | ||
uses: andresz1/size-limit-action@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[ | ||
{ | ||
"path": "dist/index.cjs.js", | ||
"limit": "7.7 KB", | ||
"webpack": false, | ||
"running": false | ||
}, | ||
{ | ||
"path": "dist/index.cjs.js", | ||
"limit": "5.9 KB", | ||
"import": "{ Chart }" | ||
}, | ||
{ | ||
"path": "dist/index.esm.js", | ||
"limit": "7.4 KB", | ||
"webpack": false, | ||
"running": false | ||
}, | ||
{ | ||
"path": "dist/index.esm.js", | ||
"limit": "5.9 KB", | ||
"import": "{ Chart }" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.