mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-04 02:56:42 +00:00
Add compressed-size action
Reports minified + gzipped size of modules
This commit is contained in:
@@ -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