From aa9d7347f6632087a7c170e8a5e58c1c4a314da1 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Fri, 20 Nov 2026 15:14:13 +0100 Subject: [PATCH] Read Node.js version from .nvmrc in Build code GitHub action --- .github/workflows/build-code.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-code.yml b/.github/workflows/build-code.yml index fc3fe1d563..ca1d2c6d23 100644 --- a/.github/workflows/build-code.yml +++ b/.github/workflows/build-code.yml @@ -10,20 +10,16 @@ permissions: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node_version: - - 22.23.5 steps: - name: Checkout code uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Use Node.js ${{ matrix.node_version }} + - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node_version }} + node-version-file: '.nvmrc' cache: 'npm' - name: Install dependencies