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