From e0cfd8b8a5bd4ec53daf9001843730dba3f7605d Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Wed, 8 Jan 2025 21:24:54 +0100 Subject: [PATCH] refactor: set node version via `.nvmrc` (#551) Update pull-request.yml --- .github/workflows/pull-request.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index c0ea1c0..c0542b5 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -15,9 +15,11 @@ jobs: - name: Set up NodeJS uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' - name: Install dependencies - run: npm install + run: npm ci - name: Run tests run: npm test