mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-08-21 19:25:46 +08:00
Create compressed-size.yml
This commit is contained in:
16
.github/workflows/compressed-size.yml
vendored
Normal file
16
.github/workflows/compressed-size.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: Compressed Size
|
||||||
|
|
||||||
|
on: [pull_request_target]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||||
|
- uses: preactjs/compressed-size-action@v2
|
||||||
|
with:
|
||||||
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
pattern: "./dist/*.{js}"
|
||||||
|
build-script: "package"
|
Reference in New Issue
Block a user