Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 4428a03

Browse files
authored
CI use Node version from package.json (#193)
Signed-off-by: Ahmad Kadri <[email protected]>
1 parent 5faaa4b commit 4428a03

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: '20'
22+
node-version-file: 'package.json'
2323
cache: 'yarn'
2424
registry-url: 'https://registry.npmjs.org'
2525

@@ -126,7 +126,7 @@ jobs:
126126

127127
- uses: actions/setup-node@v4
128128
with:
129-
node-version: '20'
129+
node-version-file: 'package.json'
130130
cache: 'yarn'
131131
registry-url: 'https://registry.npmjs.org'
132132

@@ -161,7 +161,7 @@ jobs:
161161

162162
- uses: actions/setup-node@v4
163163
with:
164-
node-version: '20'
164+
node-version-file: 'package.json'
165165
cache: 'yarn'
166166
registry-url: 'https://registry.npmjs.org'
167167

.github/workflows/element-with-modules.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
- name: Set up node
150150
uses: actions/setup-node@v4
151151
with:
152-
node-version: '20'
152+
node-version-file: 'package.json'
153153
cache: 'yarn'
154154
registry-url: 'https://registry.npmjs.org'
155155

0 commit comments

Comments
 (0)