mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 09:15:33 +03:00
21 lines
470 B
YAML
21 lines
470 B
YAML
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
|
|
CI_BRANCH: main
|