Skip to content

Commit

Permalink
chore: added size-limit-action (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
natterstefan committed Oct 27, 2020
1 parent d630cf6 commit 12163c5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/size-limit.yml
@@ -0,0 +1,15 @@
name: "size"
on:
pull_request:
branches:
- master
jobs:
size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- uses: andresz1/size-limit-action@b45f8f4ee67ce3d31afdb386a7e63c39c39146b1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .tool-versions
@@ -1,2 +1,2 @@
nodejs 12.12.0
nodejs 12.16.0
yarn 1.21.1
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -14,7 +14,7 @@
"prerelease": "yarn build && yarn size && yarn test",
"release": "HUSKY_SKIP_HOOKS=1 standard-version",
"postrelease": "cp LICENCE README.md CHANGELOG.md packages/react-component-catalog",
"postinstall": "yarn build",
"postinstall": "lerna bootstrap",
"size": "size-limit",
"start": "FORCE_COLOR=1 lerna run start --scope react-component-catalog-example --stream",
"test": "FORCE_COLOR=1 lerna run test --stream",
Expand Down

0 comments on commit 12163c5

Please sign in to comment.