Merge pull request #13801 from strapi/revert-13785-feature/admin-bundle-size-report

Revert "Github: Add admin bundle-size PR reporter"
This commit is contained in:
Gustav Hansen 2022-07-19 12:46:59 +02:00 committed by GitHub
commit 42261b8a0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,26 +0,0 @@
name: Admin bundle-size
on:
pull_request:
paths:
- '**/admin/src/**.js'
- '**/helper-plugin/lib/src/**.js'
- '**/translations/**.json'
- 'yarn.lock'
jobs:
admin_size:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: yarn
- uses: preactjs/compressed-size-action@v2
with:
pattern: '**/build/**/*.{js,css,html,svg}'
strip-hash: "\\.(?:(\\w{8})\\.chunk)|(?:\\.(\\w{8}))"