init
This commit is contained in:
parent
56cf0e1de0
commit
bbf27538b2
@ -17,7 +17,7 @@ jobs:
|
|||||||
runs-on: ppanel-web
|
runs-on: ppanel-web
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# 只有node支持版本号别名1
|
# 只有node支持版本号别名
|
||||||
node: ['20.15.1']
|
node: ['20.15.1']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -29,18 +29,18 @@ jobs:
|
|||||||
|
|
||||||
### https://github.com/pnpm/action-setup
|
### https://github.com/pnpm/action-setup
|
||||||
- name: Set up Node.js
|
- 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:
|
with:
|
||||||
version: 9.15.9
|
version: 9.15.9
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- id: tool-cache
|
- 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:
|
with:
|
||||||
# 只有node支持版本号别名
|
# 只有node支持版本号别名
|
||||||
node-version: lts
|
node-version: lts
|
||||||
|
|
||||||
- uses: https://gitea.cn/actions/setup-node@main
|
- uses: https://gitea.cn/actions/setup-node@v4
|
||||||
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