]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Actions CI tweaks (#29276)
authorXhmikosR <xhmikosr@gmail.com>
Fri, 23 Aug 2019 23:32:29 +0000 (02:32 +0300)
committerGitHub <noreply@github.com>
Fri, 23 Aug 2019 23:32:29 +0000 (02:32 +0300)
* Allow bundlesize to run for forks too.
* Add name for clone step.
* Add` fail-fast: false`

.github/workflows/test.yml

index d81ed64727bda51cc27e55aff321d51ab7ce5f8e..f9a9444a5f652ba2a292e27fbb40f9bafdf510b6 100644 (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 }}"