部署 #117

Merged
cfy777 merged 29 commits from develop into main 2026-06-14 21:25:32 +08:00
3 changed files with 8 additions and 25 deletions
Showing only changes of commit d5ee6deeb9 - Show all commits

View File

@@ -14,15 +14,16 @@ jobs:
run:
working-directory: backend
steps:
- name: Install Node.js (for checkout action)
- name: Setup Node.js
run: |
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
apk add --no-cache nodejs
working-directory: /
- uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4"
- name: Checkout
uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4"
- name: Download dependencies
- name: Download Dependencies
run: go mod download
env:
GOPROXY: https://goproxy.cn,direct

View File

@@ -14,13 +14,14 @@ jobs:
run:
working-directory: frontend
steps:
- uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4"
- name: Checkout
uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4"
- name: Install dependencies
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Type check & Build
- name: Type Check & Build
run: npm run build

View File

@@ -1,19 +0,0 @@
name: Health Test
run-name: ${{ gitea.actor }} is testing Gitea Actions 🚀
on: [push]
jobs:
health:
runs-on: aliyun
container: node:22-alpine
steps:
- run: echo "🎉 Triggered by ${{ gitea.event_name }} event"
- run: echo "🌿 Branch: ${{ gitea.ref }}, Repo: ${{ gitea.repository }}"
- run: echo "🐧 Running on ${{ runner.os }}, workspace: ${{ gitea.workspace }}"
- name: Check out repository code
uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4"
- run: echo "💡 ${{ gitea.repository }} has been cloned to the runner"
- name: List files in the repository
run: ls ${{ gitea.workspace }}
- run: echo "🍏 Job status: ${{ job.status }}"