phanpy/.github/workflows/bundlewatch.yml

22 lines
470 B
YAML
Raw Normal View History

2022-12-26 12:51:43 +00:00
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
CI_BRANCH_BASE: main
2022-12-26 13:00:49 +00:00
CI_BRANCH: main