Skip to content

Commit 9b99de0

Browse files
committed
Pinned the lockfile check to .nvmrc instead of the floating lts/* alias
setup-node's lts/* already resolves to a different Node major than the deployed runtime and would silently jump to Node 26 at the next LTS switch, so the frozen-lockfile install was being validated on a Node version nobody ships. Reading .nvmrc keeps the check on the same version as the Dockerfile.
1 parent a6daa1a commit 9b99de0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Set up Node.js
5454
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
5555
with:
56-
node-version: lts/*
56+
node-version-file: .nvmrc
5757
cache: pnpm
5858

5959
- name: Check pnpm-lock.yaml

0 commit comments

Comments
 (0)