Skip to content

Commit 989a12b

Browse files
committed
refactor(ci): change the hard-coded node version to .nvmrc directory
1 parent 5a903e7 commit 989a12b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/chromatic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v3
2222
with:
23-
node-version: 18.17.1
23+
node-version-file: .nvmrc
2424
cache: yarn
2525

2626
- name: Restore cache

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Node.js
1919
uses: actions/setup-node@v3
2020
with:
21-
node-version: 18.17.1
21+
node-version-file: .nvmrc
2222
cache: yarn
2323

2424
- name: Restore cache

.github/workflows/generate-icon-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Node.js
1919
uses: actions/setup-node@v3
2020
with:
21-
node-version: 18.17.1
21+
node-version-file: .nvmrc
2222

2323
- name: Git Config
2424
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 18.17.1
19+
node-version-file: .nvmrc
2020
cache: yarn
2121

2222
- name: Install dependencies

0 commit comments

Comments
 (0)