File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments