1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 14:30:46 +02:00

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

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 }}"