Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: try lighter ci

DarkSky574fb6d393e1
diff --git a/.github/workflows/affine.yml b/.github/workflows/affine.yml
index 28ca2d429b..a5c0eafe70 100644
--- a/.github/workflows/affine.yml
+++ b/.github/workflows/affine.yml
@@ -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
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
new file mode 100644
index 0000000000..6e0e25560b
--- /dev/null
+++ b/.github/workflows/check.yml
@@ -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/[email protected]
+ 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/[email protected]
+ with:
+ number-of-agents: 3
diff --git a/.github/workflows/keck.yml b/.github/workflows/keck.yml
index a09d790455..32e1d56058 100644
--- a/.github/workflows/keck.yml
+++ b/.github/workflows/keck.yml
@@ -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
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 8266d460df..8efce5cbd4 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -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
diff --git a/.github/workflows/lisa.yml b/.github/workflows/lisa.yml
index ead4c8fff2..f548ddeeed 100644
--- a/.github/workflows/lisa.yml
+++ b/.github/workflows/lisa.yml
@@ -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
diff --git a/.github/workflows/venus.yml b/.github/workflows/venus.yml
index 8b8841404c..699cf44dd3 100644
--- a/.github/workflows/venus.yml
+++ b/.github/workflows/venus.yml
@@ -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