Skip to content

Commit e1f3970

Browse files
committed
build(workflows): update setup-node action from v5 to v6
Updated the GitHub Actions workflow files to use the newer version of the setup-node action. This change affects both the npm-publish and pages-deploy workflows, ensuring they use the latest available node version and maintain compatibility with current GitHub Actions best practices.
1 parent 49a22ed commit e1f3970

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
version: latest
2020
# 设置 node
2121
- name: Setup node
22-
uses: actions/setup-node@v5
22+
uses: actions/setup-node@v6
2323
with:
2424
node-version: latest
2525
registry-url: https://registry.npmjs.org

.github/workflows/pages-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
version: latest
2828
# 设置 node
2929
- name: Setup node
30-
uses: actions/setup-node@v5
30+
uses: actions/setup-node@v6
3131
with:
3232
node-version: latest
3333
registry-url: https://registry.npmjs.org

0 commit comments

Comments
 (0)