diff --git a/.gitea/workflows/backend-ci.yml b/.gitea/workflows/backend-ci.yml index 481e097..f055713 100644 --- a/.gitea/workflows/backend-ci.yml +++ b/.gitea/workflows/backend-ci.yml @@ -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 diff --git a/.gitea/workflows/frontend-ci.yml b/.gitea/workflows/frontend-ci.yml index a78b641..9c035f5 100644 --- a/.gitea/workflows/frontend-ci.yml +++ b/.gitea/workflows/frontend-ci.yml @@ -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 diff --git a/.gitea/workflows/health-test.yml b/.gitea/workflows/health-test.yml deleted file mode 100644 index 59da05d..0000000 --- a/.gitea/workflows/health-test.yml +++ /dev/null @@ -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 }}"