* Allow bundlesize to run for forks too.
* Add name for clone step.
* Add` fail-fast: false`
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
- 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 }}"