chore: update
This commit is contained in:
@@ -8,11 +8,9 @@ on:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "control-plane/api/**"
|
||||
- ".gitea/workflows/ci-api.yml"
|
||||
pull_request:
|
||||
paths:
|
||||
- "control-plane/api/**"
|
||||
- ".gitea/workflows/ci-api.yml"
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
@@ -33,18 +31,15 @@ jobs:
|
||||
|
||||
- name: Vet
|
||||
run: go vet ./...
|
||||
continue-on-error: true
|
||||
|
||||
- name: Build
|
||||
run: go build ./...
|
||||
|
||||
- name: Test
|
||||
run: go test ./...
|
||||
continue-on-error: true
|
||||
|
||||
publish:
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
@@ -8,11 +8,9 @@ on:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "web/**"
|
||||
- ".gitea/workflows/ci-web.yml"
|
||||
pull_request:
|
||||
paths:
|
||||
- "web/**"
|
||||
- ".gitea/workflows/ci-web.yml"
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
@@ -40,15 +38,11 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
run: npm test
|
||||
continue-on-error: true
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
publish:
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user