init01
This commit is contained in:
parent
a607748df0
commit
f3113d787d
@ -26,34 +26,11 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: https://gitea.cn/actions/checkout@v4
|
uses: https://gitea.cn/actions/checkout@v4
|
||||||
|
|
||||||
### 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@v4.0.0
|
|
||||||
with:
|
|
||||||
version: 9.15.9
|
|
||||||
run_install: false
|
|
||||||
|
|
||||||
- id: tool-cache
|
- id: tool-cache
|
||||||
uses: https://${{ vars.GIT_USERNAME }}:${{ vars.GIT_PASSWORD }}@${{ env.DOMAIN_URL }}/actions/gitea-tool-cache@v5
|
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@v4
|
|
||||||
with:
|
|
||||||
# gitea-tool-cache导出 node 具体版本
|
|
||||||
node-version: ${{ steps.tool-cache.outputs.node-version }}
|
|
||||||
registry-url: https://registry.npmmirror.com
|
|
||||||
cache: pnpm
|
|
||||||
|
|
||||||
- name: set cavans registry
|
|
||||||
run: pnpm config set canvas_binary_host_mirror https://registry.npmmirror.com/-/binary/canvas
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pnpm install
|
|
||||||
|
|
||||||
- name: Run Build Project
|
|
||||||
run: pnpm run build
|
|
||||||
|
|
||||||
- name: Run Build Docker
|
- name: Run Build Docker
|
||||||
run: make build
|
run: make build
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user