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