Skip to content

Commit

Permalink
chore(ci): use different build command in build size check
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek committed Dec 2, 2020
1 parent 011bafe commit 9a4e74a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Navigate to website directory
run: cd website
- uses: preactjs/compressed-size-action@v2
with:
build-script: "build:v2"
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: '{build/main*js,build/styles*css,build/index.html,build/blog/**/introducing-docusaurus/*,build/docs/introduction/index.html}'
pattern: '{website/build/main*js,website/build/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

0 comments on commit 9a4e74a

Please sign in to comment.