mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 23:26:30 +08:00
chore: try lighter ci
This commit is contained in:
@@ -3,8 +3,8 @@ name: Build AFFiNE-Local
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
# pull_request:
|
||||
# branches: [master]
|
||||
|
||||
# Cancels all previous workflow runs for pull requests that have not completed.
|
||||
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
name: standard check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
main:
|
||||
name: Nx Cloud - Main Job
|
||||
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.5
|
||||
with:
|
||||
number-of-agents: 3
|
||||
parallel-commands: |
|
||||
pnpm exec nx-cloud record -- pnpm exec nx format:check
|
||||
parallel-commands-on-agents: |
|
||||
pnpm exec nx affected --target=lint --parallel=3 --exclude=components-common,keck,theme
|
||||
pnpm exec nx affected --target=build --parallel=3
|
||||
|
||||
agents:
|
||||
name: Nx Cloud - Agents
|
||||
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.5
|
||||
with:
|
||||
number-of-agents: 3
|
||||
@@ -8,12 +8,12 @@ on:
|
||||
- 'apps/keck/**'
|
||||
- '.github/deployment'
|
||||
- '.github/workflows/keck.yml'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'apps/keck/**'
|
||||
- '.github/deployment'
|
||||
- '.github/workflows/keck.yml'
|
||||
# pull_request:
|
||||
# branches: [master]
|
||||
# paths:
|
||||
# - 'apps/keck/**'
|
||||
# - '.github/deployment'
|
||||
# - '.github/workflows/keck.yml'
|
||||
|
||||
# Cancels all previous workflow runs for pull requests that have not completed.
|
||||
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
|
||||
|
||||
@@ -3,8 +3,8 @@ name: Lint
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
# pull_request:
|
||||
# branches: [master]
|
||||
|
||||
# Cancels all previous workflow runs for pull requests that have not completed.
|
||||
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
|
||||
|
||||
@@ -3,8 +3,8 @@ name: Build Lisa
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
# pull_request:
|
||||
# branches: [master]
|
||||
|
||||
# Cancels all previous workflow runs for pull requests that have not completed.
|
||||
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
|
||||
|
||||
@@ -7,11 +7,11 @@ on:
|
||||
- 'apps/venus/**'
|
||||
- '.github/deployment'
|
||||
- '.github/workflows/venus.yml'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'apps/venus/**'
|
||||
- '.github/workflows/venus.yml'
|
||||
# pull_request:
|
||||
# branches: [master]
|
||||
# paths:
|
||||
# - 'apps/venus/**'
|
||||
# - '.github/workflows/venus.yml'
|
||||
|
||||
# Cancels all previous workflow runs for pull requests that have not completed.
|
||||
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
|
||||
|
||||
Reference in New Issue
Block a user