fix(ci): 迁移Validate/Frontend job到ci-l2 runner,解决ci-check环境Docker端口映射失效 #616
@@ -24,7 +24,7 @@ concurrency:
|
||||
jobs:
|
||||
check-frontend-only:
|
||||
name: Check if frontend-only change
|
||||
runs-on: ci-check
|
||||
runs-on: ci-l2
|
||||
if: github.event_name == 'pull_request'
|
||||
outputs:
|
||||
skip_backend: ${{ steps.check.outputs.skip_backend }}
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
needs: check-frontend-only
|
||||
if: always() && needs.check-frontend-only.outputs.skip_backend != 'true'
|
||||
name: Validate Code Quality And Tests
|
||||
runs-on: ci-check
|
||||
runs-on: ci-l2
|
||||
timeout-minutes: 10
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -232,7 +232,7 @@ jobs:
|
||||
|
||||
frontend-lint:
|
||||
name: Frontend Lint
|
||||
runs-on: ci-check
|
||||
runs-on: ci-l2
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -275,7 +275,7 @@ jobs:
|
||||
|
||||
frontend-unit-test:
|
||||
name: Frontend Unit Tests
|
||||
runs-on: ci-check
|
||||
runs-on: ci-l2
|
||||
timeout-minutes: 15
|
||||
needs: check-frontend-only
|
||||
if: always() && needs.check-frontend-only.outputs.skip_frontend != 'true'
|
||||
|
||||
Reference in New Issue
Block a user