mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01: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:
parent
bab999701c
commit
dd181e91bd
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -7,11 +7,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node: [6, 8, 12]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
fetch-depth: 3
|
||||
|
||||
@ -46,7 +48,7 @@ jobs:
|
||||
|
||||
- name: Run bundlesize
|
||||
run: npm run bundlesize
|
||||
if: matrix.node == 8 && github.repository == 'twbs/bootstrap'
|
||||
if: matrix.node == 8
|
||||
env:
|
||||
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user