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
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node: [6, 8, 12]
|
node: [6, 8, 12]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@master
|
||||||
with:
|
with:
|
||||||
fetch-depth: 3
|
fetch-depth: 3
|
||||||
|
|
||||||
@ -46,7 +48,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run bundlesize
|
- name: Run bundlesize
|
||||||
run: npm run bundlesize
|
run: npm run bundlesize
|
||||||
if: matrix.node == 8 && github.repository == 'twbs/bootstrap'
|
if: matrix.node == 8
|
||||||
env:
|
env:
|
||||||
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"
|
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user