Browse Source

chore: Add compressed size action (#29337)

pull/29383/head
二货机器人 4 years ago
committed by GitHub
parent
commit
997972ed29
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      .github/workflows/compressed-size.yml

18
.github/workflows/compressed-size.yml

@ -0,0 +1,18 @@
name: 📦 Compressed Size
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v2
- uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
pattern: "./dist/**/*.min.{js,css}"
build-script: "dist:esbuild"
Loading…
Cancel
Save