Skip to content

Commit

Permalink
Add bundlewatch (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilwanner committed Jul 23, 2020
1 parent bb3150e commit fbd70f1
Show file tree
Hide file tree
Showing 4 changed files with 228 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/bundlewatch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"files": [
{
"path": "./packages/mozjpeg/lib/**/*.*"
},
{
"path": "./packages/oxipng/lib/**/*.*"
}
]
}
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ jobs:
run: npm test
- name: Lint
run: npm run lint
- name: Bundlewatch
run: npm run bundlewatch
env:
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
211 changes: 211 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"lint": "lerna run lint --parallel",
"test": "lerna run test --parallel",
"postinstall": "lerna bootstrap",
"lerna": "lerna"
"lerna": "lerna",
"bundlewatch": "bundlewatch --config .github/bundlewatch.json"
},
"dependencies": {},
"devDependencies": {
Expand All @@ -17,6 +18,7 @@
"@types/jest": "^25.2.2",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"bundlewatch": "^0.2.7",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.11.0",
Expand Down

0 comments on commit fbd70f1

Please sign in to comment.