CI: run bundlesize only for pushes.
This commit is contained in:
parent
cd20ef09f4
commit
3130288ba6
|
@ -32,7 +32,7 @@ jobs:
|
|||
|
||||
- name: Run bundlesize
|
||||
run: npm run bundlesize
|
||||
if: matrix.node == 10 && github.repository == 'twbs/bootstrap'
|
||||
if: matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
||||
env:
|
||||
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue