Actions CI tweaks (#29276)

* Allow bundlesize to run for forks too.
* Add name for clone step.
* Add` fail-fast: false`
This commit is contained in:
XhmikosR 2019-08-24 02:32:29 +03:00 committed by GitHub
parent d9abb8e20d
commit 327d32ebad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,11 +7,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [8, 10, 12]
steps:
- uses: actions/checkout@master
- name: Clone repository
uses: actions/checkout@master
with:
fetch-depth: 3
@ -32,7 +34,7 @@ jobs:
- name: Run bundlesize
run: npm run bundlesize
if: matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
if: matrix.node == 10
env:
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"