Skip to content

Commit

Permalink
Merge pull request #192 from 10up/add/compressed-size-action
Browse files Browse the repository at this point in the history
Add Compressed Size Action
  • Loading branch information
fabiankaegy authored Jan 18, 2023
2 parents a7d5d52 + f0264f4 commit 3b3c1bb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/compressed-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Compressed Size

on: [pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: 16.x
- uses: preactjs/compressed-size-action@v2
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: '{dist/**/*.js,dist/**/*.css}'
compression: 'none'

0 comments on commit 3b3c1bb

Please sign in to comment.