From 2728810f60f605950c23ee45d15a1b0da0a57a2e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 Jun 2024 14:20:45 +0200 Subject: [PATCH] Remove bundlewatch CI fails, our projects generates too many chunks unfortunately --- .github/workflows/stats.yml | 7 ------- package.json | 16 ---------------- 2 files changed, 23 deletions(-) diff --git a/.github/workflows/stats.yml b/.github/workflows/stats.yml index 5ca9b113c..b49198f38 100644 --- a/.github/workflows/stats.yml +++ b/.github/workflows/stats.yml @@ -24,13 +24,6 @@ jobs: with: node-version: '18.x' - - name: Angular bundlewatch - uses: jackyef/bundlewatch-gh-action@master - with: - build-script: npm run build -- --analyze-bundle - branch-base: develop - bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} - - name: PeerTube code stats if: github.event_name != 'pull_request' run: | diff --git a/package.json b/package.json index 550b2cd61..cbabdfc35 100644 --- a/package.json +++ b/package.json @@ -245,21 +245,5 @@ "tsc-watch": "^6.0.0", "tsx": "^4.7.1", "typescript": "~5.5.2" - }, - "bundlewatch": { - "files": [ - { - "path": "client/dist/en-US/*.js", - "maxSize": "1mb" - }, - { - "path": "client/dist/standalone/videos/video-embed.bundle.js", - "maxSize": "1mb" - }, - { - "path": "client/dist/standalone/videos/video-embed.css", - "maxSize": "1mb" - } - ] } }