Skip to content

Commit 06c8ca6

Browse files
committed
chore: upgrade node version
1 parent dc016c4 commit 06c8ca6

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Setup Node.js
6161
uses: actions/setup-node@v4
6262
with:
63-
node-version: 18
63+
node-version: 20
6464
cache: 'pnpm'
6565
- name: Install dependencies
6666
run: pnpm i --frozen-lockfile
@@ -130,7 +130,7 @@ jobs:
130130
- name: Setup Node.js
131131
uses: actions/setup-node@v4
132132
with:
133-
node-version: 18
133+
node-version: 20
134134
- name: Sort
135135
run: node ./locale/sort-origin.js
136136
- name: Deploy
@@ -153,7 +153,7 @@ jobs:
153153
- name: Setup Node.js
154154
uses: actions/setup-node@v4
155155
with:
156-
node-version: 18
156+
node-version: 20
157157
- name: Install dependencies
158158
run: |
159159
cd $GITHUB_WORKSPACE/docs

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup Node.js
3939
uses: actions/setup-node@v4
4040
with:
41-
node-version: 18
41+
node-version: 20
4242
- name: Install dependencies
4343
run: |
4444
cd $GITHUB_WORKSPACE/docs

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Node.js
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version: 18
33+
node-version: 20
3434
cache: 'pnpm'
3535
- name: Install dependencies
3636
run: pnpm i --frozen-lockfile

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Please note that some languages (such as zh-Hans) will not be translated on tran
5656

5757
### Build
5858

59-
* Install Node.js 18.x and pnpm 9.x.
59+
* Install Node.js 20.x and pnpm 9.x.
6060
* Clone this project, or download the source code and extract it.
6161
* Run `pnpm i --frozen-lockfile`.
6262
* Run build command

scripts/get-snapshot-version.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ async function main() {
1515

1616
const pkgJson = await readJSON(join(__dirname, '../package.json'));
1717
const { version: versionPrefix } = pkgJson;
18+
console.log('Get latest release version from package.json');
1819

1920
// Get latest release version
2021
// const gitHubToken = process.env.GITHUB_TOKEN;

0 commit comments

Comments
 (0)