mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-14 19:49:27 +00:00
Add compressed-size action
Reports minified + gzipped size of modules
This commit is contained in:
13
.github/workflows/compressed-size.yml
vendored
Normal file
13
.github/workflows/compressed-size.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: compressed-size
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: necolas/compressed-size-action@master
|
||||
with:
|
||||
build-script: "compile:es"
|
||||
exclude: "./packages/react-native-web/dist/types/*.js"
|
||||
pattern: "./packages/react-native-web/dist/{index.js,**/*.js}"
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
Reference in New Issue
Block a user