init
This commit is contained in:
parent
56cf0e1de0
commit
bbf27538b2
@ -17,7 +17,7 @@ jobs:
|
||||
runs-on: ppanel-web
|
||||
strategy:
|
||||
matrix:
|
||||
# 只有node支持版本号别名1
|
||||
# 只有node支持版本号别名
|
||||
node: ['20.15.1']
|
||||
|
||||
steps:
|
||||
@ -29,18 +29,18 @@ jobs:
|
||||
|
||||
### https://github.com/pnpm/action-setup
|
||||
- name: Set up Node.js
|
||||
uses: https://${{ vars.GIT_USERNAME }}:${{ vars.GIT_PASSWORD }}@${{ env.DOMAIN_URL }}/actions/action-setup@main
|
||||
uses: https://${{ vars.GIT_USERNAME }}:${{ vars.GIT_PASSWORD }}@${{ env.DOMAIN_URL }}/actions/action-setup@v4.0.0
|
||||
with:
|
||||
version: 9.15.9
|
||||
run_install: false
|
||||
|
||||
- id: tool-cache
|
||||
uses: https://${{ vars.GIT_USERNAME }}:${{ vars.GIT_PASSWORD }}@${{ env.DOMAIN_URL }}/actions/gitea-tool-cache@main
|
||||
uses: https://${{ vars.GIT_USERNAME }}:${{ vars.GIT_PASSWORD }}@${{ env.DOMAIN_URL }}/actions/gitea-tool-cache@v5
|
||||
with:
|
||||
# 只有node支持版本号别名
|
||||
node-version: lts
|
||||
|
||||
- uses: https://gitea.cn/actions/setup-node@main
|
||||
- uses: https://gitea.cn/actions/setup-node@v4
|
||||
with:
|
||||
# gitea-tool-cache导出 node 具体版本
|
||||
node-version: ${{ steps.tool-cache.outputs.node-version }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user