Skip to content

Commit

Permalink
ci(Sizes): add compressed size action
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusNotheis authored Apr 8, 2020
1 parent c5fd469 commit ece31fd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/compressed-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Compressed Size

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2-beta
with:
fetch-depth: 1
- uses: preactjs/compressed-size-action@v1
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: 'lib/*.js'
compression: 'gzip'

0 comments on commit ece31fd

Please sign in to comment.