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=7c272024273ed012877c37b03396597df26ddebf;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 f121167db9..fa1ed8861d 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -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 diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index bcf8d25dd7..576dc77880 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -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 diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 9cfa8b35a9..2a95375dda 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -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 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6057eb7640..67e10dbd40 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 1fdd9afacd..b5f2e2424c 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -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 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 88667fdd7b..551d59fe2e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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