diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f893380efb..fe7788994a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -11,9 +11,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true -env: - NODE_VERSION: 24 - jobs: # Needs no dependencies, so it reports in seconds rather than queueing behind # npm ci and lint. @@ -38,7 +35,7 @@ jobs: - name: ⚙️ Use Node.js uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: .nvmrc cache: npm - name: 🕸️ Install Dependencies run: npm ci @@ -91,7 +88,7 @@ jobs: - name: ⚙️ Use Node.js uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: .nvmrc cache: npm - name: 🕸️ Install Dependencies run: npm ci diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000000..a45fd52cc5 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +24