Skip to content

Commit

Permalink
Add bundlewatch
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilwanner committed Aug 6, 2020
1 parent cc8b6c8 commit 9f118bf
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/bundlewatch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"files": [
{
"path": "./lib/**/*.*",
"compression": "none"
}
]
}
22 changes: 22 additions & 0 deletions .github/workflows/stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
branches: [ master ]
pull_request:
types: [ opened, synchronize ]

name: Stats

jobs:
stats:
name: Generate Stats
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- uses: cyrilwanner/bundlewatch-comment-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}

0 comments on commit 9f118bf

Please sign in to comment.