Browse Source

Read Node.js version from .nvmrc in Build code GitHub action

pull/8460/head
Thomas Kaul 3 days ago
parent
commit
aa9d7347f6
  1. 8
      .github/workflows/build-code.yml

8
.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

Loading…
Cancel
Save