Skip to content

Commit 511e42a

Browse files
committed
fix: 🐛 Standardize node-version to "lts" across all jobs in PR validation workflow
1 parent 8da4921 commit 511e42a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/pr-validation.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup Node.js
3838
uses: actions/setup-node@v4
3939
with:
40-
node-version: ${{ env.NODE_VERSION }}
40+
node-version: "lts"
4141

4242
- name: Enable corepack
4343
run: corepack enable
@@ -58,7 +58,7 @@ jobs:
5858
needs: version-calculation
5959
uses: ./.github/workflows/job-build.yml
6060
with:
61-
node-version: ${{ env.NODE_VERSION }}
61+
node-version: "lts"
6262
upload-artifact: true
6363
artifact-name: ${{ env.ARTIFACT_BUILD }}
6464

@@ -67,25 +67,25 @@ jobs:
6767
needs: version-calculation
6868
uses: ./.github/workflows/job-tests.yml
6969
with:
70-
node-version: ${{ env.NODE_VERSION }}
70+
node-version: "lts"
7171
coverage: true
7272

7373
lint:
7474
uses: ./.github/workflows/job-lint.yml
7575
with:
76-
node-version: ${{ env.NODE_VERSION }}
76+
node-version: "lts"
7777

7878
type-check:
7979
uses: ./.github/workflows/job-typecheck.yml
8080
with:
81-
node-version: ${{ env.NODE_VERSION }}
81+
node-version: "lts"
8282

8383
# Verification job (depends on build for artifacts)
8484
verification:
8585
needs: [build, test]
8686
uses: ./.github/workflows/job-verification.yml
8787
with:
88-
node-version: ${{ env.NODE_VERSION }}
88+
node-version: "lts"
8989
build-artifact: ${{ env.ARTIFACT_BUILD }}
9090

9191
# PR comment with results

0 commit comments

Comments
 (0)