mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +03:00
Let's watch the bundle?
This commit is contained in:
parent
af437ae4c8
commit
f5faf51bad
1 changed files with 19 additions and 0 deletions
19
.github/workflows/bundlewatch.yml
vendored
Normal file
19
.github/workflows/bundlewatch.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: BundleWatch
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
bundle:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: |
|
||||
npm ci
|
||||
npm run build
|
||||
npx bundlewatch --max-size 100kb ./dist/**/*.js
|
||||
env:
|
||||
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
|
||||
CI_REPO_OWNER: cheeaun
|
||||
CI_REPO_NAME: phanpy
|
Loading…
Reference in a new issue