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 index 59da05d..5ae3091 100644 --- a/.gitea/workflows/health-test.yml +++ b/.gitea/workflows/health-test.yml @@ -8,12 +8,17 @@ jobs: 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 + - name: Event Info + run: echo "🎉 Triggered by ${{ gitea.event_name }} event" + - name: Branch Info + run: echo "🌿 Branch: ${{ gitea.ref }}, Repo: ${{ gitea.repository }}" + - name: Runner Info + run: echo "🐧 Running on ${{ runner.os }}, workspace: ${{ gitea.workspace }}" + - name: Checkout 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 + - name: Checkout Done + run: echo "💡 ${{ gitea.repository }} has been cloned to the runner" + - name: List Files run: ls ${{ gitea.workspace }} - - run: echo "🍏 Job status: ${{ job.status }}" + - name: Job Status + run: echo "🍏 Job status: ${{ job.status }}"