Let's watch the bundle?

pull/31/head
Lim Chee Aun 2022-12-26 20:51:43 +08:00
rodzic af437ae4c8
commit f5faf51bad
1 zmienionych plików z 19 dodań i 0 usunięć

Wyświetl plik

@ -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