Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Commit aaf7755

Browse files
Update node version
1 parent 3861a9d commit aaf7755

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10-
- name: Use Node.js LTS
10+
- name: Use Node.js
1111
uses: actions/setup-node@v4
1212
with:
13-
node-version: 'lts/*'
13+
node-version-file: '.nvmrc'
1414
cache: 'npm'
1515
- name: Install dependencies
1616
run: npm ci

.github/workflows/publish-rc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: '18.18.0'
19+
node-version-file: '.nvmrc'
20+
cache: 'npm'
2021
registry-url: 'https://registry.npmjs.org'
2122

2223
- name: Get package name and current version from package.json

.github/workflows/publish.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@v4
2020
with:
21-
node-version: '18.18.0'
21+
node-version-file: '.nvmrc'
2222
registry-url: 'https://registry.npmjs.org'
2323

2424
- name: Get package name and current version from package.json

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.18.0
1+
22.13.1

0 commit comments

Comments
 (0)