fix: 🐛 修正 needConfirm 为 false 的场景下,preset 选择失效的问题 #4277
Workflow file for this run
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: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
compressed-size: | |
runs-on: ubuntu-latest | |
if: startsWith(github.head_ref, 'release/') | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: 94dreamer/compressed-size-action@master | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
pattern: "./dist/**/*.{js,css}" |