diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-23 09:44:40 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-23 11:02:35 +0100 |
commit | 2abaa3f27ec9870749a3a6f001922740e26c3830 (patch) | |
tree | 36fb2e99802ff9a47ec778187cae1a1867982b46 /.github/workflows/bundlewatch.yml | |
parent | 8281cf00c0f31a45f6c66f6b6b31224696e130ab (diff) | |
download | PeerTube-2abaa3f27ec9870749a3a6f001922740e26c3830.tar.gz PeerTube-2abaa3f27ec9870749a3a6f001922740e26c3830.tar.zst PeerTube-2abaa3f27ec9870749a3a6f001922740e26c3830.zip |
Add stats to github actions
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 }} | ||