Skip to content

Commit

Permalink
Added gh size action (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBacon committed Dec 3, 2020
1 parent 972fbb2 commit 6e11c76
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/size.yml
@@ -0,0 +1,18 @@
name: "Size"

on:
pull_request:
types: [synchronize, opened]

jobs:
size:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: preactjs/compressed-size-action@v2
continue-on-error: true
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
pattern: "**/lib/*.js"

0 comments on commit 6e11c76

Please sign in to comment.