This commit is contained in:
heixinyouzi 2024-05-22 16:04:41 +08:00
parent 7672fd1b3e
commit 82e4198dd3

View File

@ -10,17 +10,7 @@ jobs:
steps:
- name: Checkout
uses: https://gitea.cn/actions/checkout@v3
- id: tool-cache
name: 安装node
uses: https://gitea.com/kongxiangyiren/gitea-tool-cache@v4
with:
# 只有node支持版本号别名
node-version: 18
- uses: https://gitea.cn/actions/setup-node@v3
with:
# gitea-tool-cache导出 node 具体版本
node-version: ${{ steps.tool-cache.outputs.node-version }}
registry-url: 'https://registry.npmmirror.com'
- name: 缓存
uses: https://gitea.cn/actions/cache@v3