修复打包导致的 ImageUploader
中 Space
和 Grid
样式的权重问题以及css变量作用域导致的 --gap-horizontal
和 --gap-vertical
变量未正常生效的问题
#1113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compressed Size | |
on: | |
push: | |
branches: [master, feature] | |
pull_request: | |
# Cancel prev CI if new commit come | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
compressed-size: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install pnpm | |
id: pnpm-install | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
run_install: false | |
- uses: actions/checkout@v3 | |
- uses: preactjs/compressed-size-action@v2 | |
with: | |
repo-token: '${{ secrets.GITHUB_TOKEN }}' | |
pattern: './lib/bundle/*{.umd.js,.css}' |