This commit is contained in:
shanshanzhong 2025-09-25 04:12:01 -07:00
parent e5da524504
commit f22be971a5

View File

@ -21,25 +21,25 @@ jobs:
steps:
- name: Checkout code
uses: https://gitea.cn/actions/checkout@v4
uses: https://gitea.cn/actions/checkout@v1
- name: change npm registry mirror
run: npm config set registry https://registry.npmmirror.com
### https://github.com/pnpm/action-setup
- name: Set up Node.js
uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/action-setup@v4.0.0
uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/action-setup@v1
with:
version: 9.15.9
run_install: false
- id: tool-cache
uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/gitea-tool-cache@v5
uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/gitea-tool-cache@v1
with:
# 只有node支持版本号别名
node-version: lts
- uses: https://gitea.cn/actions/setup-node@v4
- uses: https://gitea.cn/actions/setup-node@v1
with:
# gitea-tool-cache导出 node 具体版本
node-version: ${{ steps.tool-cache.outputs.node-version }}