]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use `node-version-file` in GitHub workflows (#42416)
authorRishikesh183 <158394885+Rishikesh183@users.noreply.github.com>
Sun, 7 Jun 2026 08:45:43 +0000 (14:15 +0530)
committerJulien Déramond <juderamond@gmail.com>
Sun, 7 Jun 2026 08:52:56 +0000 (10:52 +0200)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
.github/workflows/browserstack.yml
.github/workflows/bundlewatch.yml
.github/workflows/css.yml
.github/workflows/docs.yml
.github/workflows/js.yml
.github/workflows/lint.yml

index f121167db903ea580ab0621752967cfce145e8fd..fa1ed8861dd7c0a507fd54c69652bd9699c44b7d 100644 (file)
@@ -9,7 +9,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 24
 
 permissions:
   contents: read
@@ -29,7 +28,7 @@ jobs:
       - name: Set up Node.js
         uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
         with:
-          node-version: "${{ env.NODE }}"
+          node-version-file: ".nvmrc"
           cache: npm
 
       - name: Install npm dependencies
index bcf8d25dd7172f820af21409d706631b4b5462d7..576dc778802348e84a94c987df967ba1c5398e70 100644 (file)
@@ -10,7 +10,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 24
 
 permissions:
   contents: read
@@ -28,7 +27,7 @@ jobs:
       - name: Set up Node.js
         uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
         with:
-          node-version: "${{ env.NODE }}"
+          node-version-file: ".nvmrc"
           cache: npm
 
       - name: Install npm dependencies
index 9cfa8b35a9bebd4f11655edceca728e85a12401b..2a95375dda4c7024c307d640790aa1b728153495 100644 (file)
@@ -10,7 +10,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 24
 
 permissions:
   contents: read
@@ -28,7 +27,7 @@ jobs:
       - name: Set up Node.js
         uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
         with:
-          node-version: "${{ env.NODE }}"
+          node-version-file: ".nvmrc"
           cache: npm
 
       - name: Install npm dependencies
index 6057eb7640da1a41062e9d34a94c394a88f68500..67e10dbd40a4be319a5c9fdc1aebabada32d654f 100644 (file)
@@ -10,7 +10,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 24
 
 permissions:
   contents: read
@@ -28,7 +27,7 @@ jobs:
       - name: Set up Node.js
         uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
         with:
-          node-version: "${{ env.NODE }}"
+          node-version-file: ".nvmrc"
           cache: npm
 
       - name: Install npm dependencies
index 1fdd9afacd881b8f948464282b2a7de3ee6aca33..b5f2e2424c2bf9e4ebfdb43be00fbf503d04e11a 100644 (file)
@@ -10,7 +10,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 24
 
 permissions:
   contents: read
@@ -33,7 +32,7 @@ jobs:
       - name: Set up Node.js
         uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
         with:
-          node-version: ${{ env.NODE }}
+          node-version-file: ".nvmrc"
           cache: npm
 
       - name: Install npm dependencies
index 88667fdd7be36225ddca2ffe90ad672dd6de42d0..551d59fe2e55e1ab6b0e97f1c73f9a0930c2f93b 100644 (file)
@@ -10,7 +10,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 24
 
 permissions:
   contents: read
@@ -28,7 +27,7 @@ jobs:
       - name: Set up Node.js
         uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
         with:
-          node-version: "${{ env.NODE }}"
+          node-version-file: ".nvmrc"
           cache: npm
 
       - name: Install npm dependencies