diff options
Diffstat (limited to '.github/workflows/bundlewatch.yml')
-rw-r--r-- | .github/workflows/bundlewatch.yml | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml deleted file mode 100644 index a829368e8..000000000 --- a/.github/workflows/bundlewatch.yml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | name: "Bundlewatch Github Action" | ||
2 | |||
3 | on: | ||
4 | push: | ||
5 | branches: | ||
6 | - develop | ||
7 | pull_request: | ||
8 | types: [synchronize, opened] | ||
9 | |||
10 | jobs: | ||
11 | |||
12 | bundlewatch: | ||
13 | runs-on: ubuntu-latest | ||
14 | |||
15 | env: | ||
16 | CI_BRANCH_BASE: develop | ||
17 | |||
18 | steps: | ||
19 | - uses: actions/checkout@v2 | ||
20 | |||
21 | - name: Use Node.js | ||
22 | uses: actions/setup-node@v1 | ||
23 | with: | ||
24 | node-version: '12.x' | ||
25 | |||
26 | - name: Cache Node.js modules | ||
27 | uses: actions/cache@v2 | ||
28 | with: | ||
29 | path: | | ||
30 | **/node_modules | ||
31 | ~/fixtures | ||
32 | key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }} | ||
33 | restore-keys: | | ||
34 | ${{ runner.OS }}-node- | ||
35 | ${{ runner.OS }}- | ||
36 | |||
37 | - name: Install dependencies | ||
38 | run: yarn install --frozen-lockfile | ||
39 | |||
40 | - name: Angular bundlewatch | ||
41 | uses: jackyef/bundlewatch-gh-action@master | ||
42 | with: | ||
43 | build-script: npm run build -- --analyze-bundle | ||
44 | branch-base: develop | ||
45 | bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} | ||