ci
This commit is contained in:
parent
5637b002a5
commit
3ce7e7cee0
@ -3,10 +3,10 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- cicd
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- cicd
|
||||
|
||||
env:
|
||||
DOMAIN_URL: git.studyfor.work #*修改为你自己的域名
|
||||
@ -26,9 +26,6 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: https://gitea.cn/actions/checkout@v4
|
||||
|
||||
- name: change npm registry mirror
|
||||
run: npm config set registry https://registry.npmmirror.com
|
||||
|
||||
### https://github.com/pnpm/action-setup
|
||||
- name: Set up Node.js
|
||||
uses: https://github.com/pnpm/action-setup@v4
|
||||
@ -36,7 +33,6 @@ jobs:
|
||||
version: 9.15.9
|
||||
run_install: false
|
||||
|
||||
|
||||
- uses: https://gitea.cn/actions/setup-node@v4
|
||||
with:
|
||||
# gitea-tool-cache导出 node 具体版本
|
||||
@ -46,7 +42,5 @@ jobs:
|
||||
- name: set cavans registry
|
||||
run: pnpm config set canvas_binary_host_mirror https://registry.npmmirror.com/-/binary/canvas
|
||||
|
||||
|
||||
|
||||
- name: Run Build Docker
|
||||
run: make build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user