Skip to content

Commit 79b4499

Browse files
fix: force node.js 18 in GitHub Actions
1 parent 4ffd3c7 commit 79b4499

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
- name: Setup Node.js
88
uses: actions/setup-node@v3
99
with:
10-
node-version-file: .nvmrc
10+
node-version: 18 # Force Node.js 18 instead of using .nvmrc
1111

1212
- name: Cache dependencies
1313
id: yarn-cache

.github/workflows/ci.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v3
1616

17-
- name: Use Node.js 18
18-
uses: actions/setup-node@v4
19-
with:
20-
node-version: 18
21-
2217
- name: Setup project
2318
uses: ./.github/actions/setup
2419

@@ -34,11 +29,6 @@ jobs:
3429
- name: Checkout repository
3530
uses: actions/checkout@v3
3631

37-
- name: Use Node.js 18
38-
uses: actions/setup-node@v4
39-
with:
40-
node-version: 18
41-
4232
- name: Setup project
4333
uses: ./.github/actions/setup
4434

@@ -51,11 +41,6 @@ jobs:
5141
- name: Checkout repository
5242
uses: actions/checkout@v3
5343

54-
- name: Use Node.js 18
55-
uses: actions/setup-node@v4
56-
with:
57-
node-version: 18
58-
5944
- name: Setup project
6045
uses: ./.github/actions/setup
6146

0 commit comments

Comments
 (0)