diff --git a/.github/workflows/ci-build-site.yml b/.github/workflows/ci-build-site.yml index bc926cdf..01a6519e 100644 --- a/.github/workflows/ci-build-site.yml +++ b/.github/workflows/ci-build-site.yml @@ -58,7 +58,7 @@ jobs: id: get-comparison-commit run: | if [[ "${{ github.event_name }}" == "pull_request" ]]; then - echo "compare_sha=$(git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }})" >> $GITHUB_OUTPUT + echo "compare_sha=$(git rev-parse ${{ github.event.pull_request.base.sha }})" >> $GITHUB_OUTPUT else echo "compare_sha=$(git rev-parse HEAD^1)" >> $GITHUB_OUTPUT fi @@ -281,4 +281,4 @@ jobs: comment-id: ${{ steps.find-comment.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }} body: ${{ steps.get-comment-body.outputs.body }}${{ steps.get-comment-body-no-changes.outputs.body }} - edit-mode: replace \ No newline at end of file + edit-mode: replace diff --git a/hugo/.size-limit.js b/hugo/.size-limit.js index d27e86aa..4998708a 100644 --- a/hugo/.size-limit.js +++ b/hugo/.size-limit.js @@ -1,7 +1,7 @@ module.exports = [ { path: 'static/build/app.js', - limit: '17 KB', + limit: '20 KB', }, { path: 'static/build/manifest.js',