test2
This commit is contained in:
parent
7672fd1b3e
commit
82e4198dd3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user