Skip to content

Commit fad1376

Browse files
committed
ci: node version
1 parent 75c6188 commit fad1376

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
- name: Install Pnpm
3131
run: corepack enable
3232

33-
- name: Setup Node.js 18.x
33+
- name: Setup Node.js 20
3434
uses: actions/setup-node@v4
3535
with:
36-
node-version: 18.x
36+
node-version: 20
3737
cache: 'pnpm'
3838

3939
- name: Install Dependencies

.github/workflows/release-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
- name: Install Pnpm
3030
run: corepack enable
3131

32-
- name: Setup Node.js 18
32+
- name: Setup Node.js 20
3333
uses: actions/setup-node@v4
3434
with:
35-
node-version: '18'
35+
node-version: 20
3636
cache: 'pnpm'
3737

3838
- name: Install Dependencies

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
- name: Install Pnpm
3838
run: corepack enable
3939

40-
- name: Setup Node.js 18
40+
- name: Setup Node.js 20
4141
uses: actions/setup-node@v4
4242
with:
43-
node-version: '18'
43+
node-version: 20
4444
cache: 'pnpm'
4545

4646
- name: Install Dependencies

.github/workflows/test-ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
node-version: [18.x]
24+
node-version: [20]
2525

2626
# Steps represent a sequence of tasks that will be executed as part of the job
2727
steps:
@@ -64,7 +64,7 @@ jobs:
6464
runs-on: ubuntu-latest
6565
strategy:
6666
matrix:
67-
node-version: [18.x]
67+
node-version: [20]
6868

6969
# Steps represent a sequence of tasks that will be executed as part of the job
7070
steps:

.github/workflows/test-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: windows-latest
2222
strategy:
2323
matrix:
24-
node-version: [18.x]
24+
node-version: [20]
2525

2626
# Steps represent a sequence of tasks that will be executed as part of the job
2727
steps:
@@ -69,7 +69,7 @@ jobs:
6969
runs-on: windows-latest
7070
strategy:
7171
matrix:
72-
node-version: [18.x]
72+
node-version: [20]
7373

7474
# Steps represent a sequence of tasks that will be executed as part of the job
7575
steps:

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.20.2
1+
20

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Thanks for that you are interested in contributing to Rslib. Before starting you
44

55
## Install Node.js
66

7-
Use [fnm](https://github.com/Schniz/fnm) or [nvm](https://github.com/nvm-sh/nvm) to run the command below. This will switch to the Node.js version (currently 18) specified in the project's `.nvmrc` file.
7+
Use [fnm](https://github.com/Schniz/fnm) or [nvm](https://github.com/nvm-sh/nvm) to run the command below. This will switch to the Node.js version (currently 20) specified in the project's `.nvmrc` file.
88

99
```bash
1010
# with fnm

0 commit comments

Comments
 (0)