From 9a4e74a11404baf70f12936d0da9c19f976ec190 Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Wed, 2 Dec 2020 18:25:37 +0100 Subject: [PATCH] chore(ci): use different build command in build size check --- .github/workflows/build-size.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-size.yml b/.github/workflows/build-size.yml index a11d6b9e4aab..923bfbf5a435 100644 --- a/.github/workflows/build-size.yml +++ b/.github/workflows/build-size.yml @@ -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