mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
Update check.yml
This commit is contained in:
15
.github/workflows/check.yml
vendored
15
.github/workflows/check.yml
vendored
@@ -2,9 +2,13 @@ name: standard check
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [develop]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [develop]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
@@ -12,8 +16,8 @@ jobs:
|
|||||||
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.6
|
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.6
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
main-branch-name: master
|
main-branch-name: develop
|
||||||
number-of-agents: 3
|
number-of-agents: 2
|
||||||
parallel-commands: |
|
parallel-commands: |
|
||||||
pnpm exec nx-cloud record -- pnpm exec nx format:check
|
pnpm exec nx-cloud record -- pnpm exec nx format:check
|
||||||
parallel-commands-on-agents: |
|
parallel-commands-on-agents: |
|
||||||
@@ -23,6 +27,5 @@ jobs:
|
|||||||
agents:
|
agents:
|
||||||
name: Nx Cloud - Agents
|
name: Nx Cloud - Agents
|
||||||
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.6
|
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.6
|
||||||
secrets: inherit
|
|
||||||
with:
|
with:
|
||||||
number-of-agents: 3
|
number-of-agents: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user