Skip to content

Commit b67c440

Browse files
authored
build: Run size-limit action on master (#5314)
We need to run size-limit on master so that we upload size assets that we can do comparisons with.
1 parent 446a295 commit b67c440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ jobs:
178178
timeout-minutes: 15
179179
runs-on: ubuntu-latest
180180
# Size Check will error out outside of the context of a PR
181-
if: ${{ github.event_name == 'pull_request' }}
181+
if: ${{ github.event_name == 'pull_request' }} || ${{ startsWith(github.ref, 'refs/heads/master/') }}
182182
steps:
183183
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
184184
uses: actions/checkout@v2

0 commit comments

Comments
 (0)