main
This commit is contained in:
parent
b0ecc0a514
commit
de8761846a
@ -21,25 +21,25 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/checkout@main
|
uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/checkout
|
||||||
|
|
||||||
- name: change npm registry mirror
|
- name: change npm registry mirror
|
||||||
run: npm config set registry https://registry.npmmirror.com
|
run: npm config set registry https://registry.npmmirror.com
|
||||||
|
|
||||||
### https://github.com/pnpm/action-setup
|
### https://github.com/pnpm/action-setup
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/action-setup@main
|
uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/action-setup
|
||||||
with:
|
with:
|
||||||
version: 9.15.9
|
version: 9.15.9
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- id: tool-cache
|
- id: tool-cache
|
||||||
uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/gitea-tool-cache@main
|
uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/gitea-tool-cache
|
||||||
with:
|
with:
|
||||||
# 只有node支持版本号别名
|
# 只有node支持版本号别名
|
||||||
node-version: lts
|
node-version: lts
|
||||||
|
|
||||||
- uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/setup-node@main
|
- uses: https://shanshanzhong147@gmail.com:shanshanzhong147@git.kxsw.us/actions/setup-node
|
||||||
with:
|
with:
|
||||||
# gitea-tool-cache导出 node 具体版本
|
# gitea-tool-cache导出 node 具体版本
|
||||||
node-version: ${{ steps.tool-cache.outputs.node-version }}
|
node-version: ${{ steps.tool-cache.outputs.node-version }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user