From: Rishikesh183 <158394885+Rishikesh183@users.noreply.github.com> Date: Sun, 7 Jun 2026 08:45:43 +0000 (+0530) Subject: Use `node-version-file` in GitHub workflows (#42416) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83498988cb5fadc87de7763b8ff72cd74ebb99a7;p=thirdparty%2Fbootstrap.git Use `node-version-file` in GitHub workflows (#42416) Co-authored-by: Julien Déramond --- diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index c5cc007454..fa1ed8861d 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -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 diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index d26c2b958c..85927e3717 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -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 diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index c25fd480e1..62b359b110 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -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 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 430e59dd8b..9262a23b85 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index b85d737717..17d0aadf7e 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -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 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 374b9b669e..35f76b5ed4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml index 5fe75a52b9..fe36ad5ec2 100644 --- a/.github/workflows/node-sass.yml +++ b/.github/workflows/node-sass.yml @@ -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: |