]> 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)
committerGitHub <noreply@github.com>
Sun, 7 Jun 2026 08:45:43 +0000 (10:45 +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
.github/workflows/node-sass.yml

index c5cc007454569c55a4f5c00daaf4a928ae33335b..fa1ed8861dd7c0a507fd54c69652bd9699c44b7d 100644 (file)
@@ -9,7 +9,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 22
 
 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 d26c2b958cd70444c1f943c1f8e53489f4a1d453..85927e3717e2f56fb713d8b4b3ec8ce696fc8f86 100644 (file)
@@ -9,7 +9,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 22
 
 permissions:
   contents: read
@@ -27,7 +26,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 c25fd480e1e689eba89c652b40c095f2c72b16e5..62b359b110cf9357ec45dbdaaedcc1dec4245a76 100644 (file)
@@ -9,7 +9,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 22
 
 permissions:
   contents: read
@@ -27,7 +26,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 430e59dd8b4531c9c286477680081fa9e695e033..9262a23b85b52f2cdee250044cd657b7100fd237 100644 (file)
@@ -9,7 +9,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 22
 
 permissions:
   contents: read
@@ -27,7 +26,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
 
       - run: java -version
index b85d7377171523716b06dbc581484db7c2148cc3..17d0aadf7e2232f1f4d27c687035863f7dea7147 100644 (file)
@@ -9,7 +9,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 22
 
 permissions:
   contents: read
@@ -32,7 +31,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 374b9b669eac1cfe26ecd310cd32f2c90ac8718e..35f76b5ed4b8703460b4136adb3aac55449af1fd 100644 (file)
@@ -9,7 +9,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 22
 
 permissions:
   contents: read
@@ -27,7 +26,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 5fe75a52b913cb152b772d86bc0e0f7bf85a9c58..fe36ad5ec24e70b1003e8410fdbd07004c829e26 100644 (file)
@@ -9,7 +9,6 @@ on:
 
 env:
   FORCE_COLOR: 2
-  NODE: 22
 
 permissions:
   contents: read
@@ -27,7 +26,7 @@ jobs:
       - name: Set up Node.js
         uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
         with:
-          node-version: "${{ env.NODE }}"
+          node-version-file: ".nvmrc"
 
       - name: Build CSS with node-sass
         run: |