1 name: "Bundlewatch Github Action"
8 types: [synchronize, opened]
13 runs-on: ubuntu-latest
16 CI_BRANCH_BASE: develop
19 - uses: actions/checkout@v2
22 uses: actions/setup-node@v1
26 - name: Cache Node.js modules
27 uses: actions/cache@v2
32 key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}
34 ${{ runner.OS }}-node-
37 - name: Install dependencies
38 run: yarn install --frozen-lockfile
40 - name: Angular bundlewatch
41 uses: jackyef/bundlewatch-gh-action@master
43 build-script: npm run build -- --analyze-bundle
44 bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}