Skip to content

Commit

Permalink
chore(v2): Fix build size bot (#4248)
Browse files Browse the repository at this point in the history
* Fix build size bot

* use compression: 'none'
  • Loading branch information
slorber authored Feb 19, 2021
1 parent 094b513 commit db7a348
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Workaround for https://github.com/preactjs/compressed-size-action/issues/54
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: preactjs/compressed-size-action@v2
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
build-script: 'build:v2:en'
pattern: '{website/build/assets/js/main*js,website/build/assets/css/styles*css,website/build/index.html,website/build/blog/**/introducing-docusaurus/*,website/build/docs/introduction/index.html}'
strip-hash: '\.([^;]\w{7})\.'
minimum-change-threshold: 100
minimum-change-threshold: 30
compression: 'none'

0 comments on commit db7a348

Please sign in to comment.