mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +00:00
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:
commit
42261b8a0a
26
.github/workflows/adminBundleSize.yml
vendored
26
.github/workflows/adminBundleSize.yml
vendored
@ -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}))"
|
||||
Loading…
x
Reference in New Issue
Block a user