Skip to content

Commit f493d6c

Browse files
authored
chore: switch node version to 22 (#713)
* chore: switch node version to 22 * chore: test * 更新 README.md
1 parent e4e5736 commit f493d6c

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

.github/workflows/pkg-pr-new.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- uses: actions/setup-node@v4
2626
with:
27-
node-version: 18
27+
node-version-file: .node-version
2828

2929
- run: pnpm install
3030

@@ -49,7 +49,7 @@ jobs:
4949

5050
- uses: actions/setup-node@v4
5151
with:
52-
node-version: 18
52+
node-version-file: .node-version
5353

5454
- run: pnpm install
5555

.github/workflows/publish-site-components.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: 18
23+
node-version-file: .node-version
2424

2525
- run: pnpm install
2626

.github/workflows/publish-theme-generator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: 18
23+
node-version-file: .node-version
2424

2525
- run: pnpm install
2626

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- uses: actions/setup-node@v4
3232
with:
33-
node-version: 18
33+
node-version-file: .node-version
3434
- run: node ./services/update-components-notice.js
3535
- run: sleep 3s
3636
- run: |

.github/workflows/service-update-schedule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 18
19+
node-version-file: .node-version
2020
- run: node ./services/update-components-notice.js
2121
- run: sleep 3s
2222
- run: |

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

0 commit comments

Comments
 (0)