]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
JS tests: only test one Node.js version (#35481)
authorXhmikosR <xhmikosr@gmail.com>
Fri, 10 Dec 2021 14:40:32 +0000 (16:40 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 16 Dec 2021 07:23:08 +0000 (09:23 +0200)
.github/workflows/js.yml

index 7af17ceb6a70bbf2274a1e68b7b2f156dad5e6ea..e9719000e3fd77c42624fc9ef8c7b16d33d80265 100644 (file)
@@ -9,17 +9,13 @@ on:
 
 env:
   FORCE_COLOR: 2
+  NODE: 16
 
 jobs:
   run:
-    name: Node ${{ matrix.node }}
+    name: JS Tests
     runs-on: ubuntu-latest
 
-    strategy:
-      fail-fast: false
-      matrix:
-        node: [12, 14, 16]
-
     steps:
       - name: Clone repository
         uses: actions/checkout@v2
@@ -27,7 +23,7 @@ jobs:
       - name: Set up Node.js
         uses: actions/setup-node@v2
         with:
-          node-version: ${{ matrix.node }}
+          node-version: ${{ env.NODE }}
           cache: npm
 
       - name: Install npm dependencies
@@ -41,7 +37,6 @@ jobs:
 
       - name: Run Coveralls
         uses: coverallsapp/github-action@1.1.3
-        if: matrix.node == 16
         with:
           github-token: "${{ secrets.GITHUB_TOKEN }}"
           path-to-lcov: "./js/coverage/lcov.info"