mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
ci: remove unstable nx.yml (#4543)
This commit is contained in:
54
.github/workflows/nx.yml
vendored
54
.github/workflows/nx.yml
vendored
@@ -1,54 +0,0 @@
|
|||||||
name: NX
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- v[0-9]+.[0-9]+.x-staging
|
|
||||||
- v[0-9]+.[0-9]+.x
|
|
||||||
paths-ignore:
|
|
||||||
- README.md
|
|
||||||
- .github/**
|
|
||||||
- '!.github/workflows/nx.yml'
|
|
||||||
- '!.github/actions/build-rust/action.yml'
|
|
||||||
- '!.github/actions/setup-node/action.yml'
|
|
||||||
pull_request:
|
|
||||||
merge_group:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- v[0-9]+.[0-9]+.x-staging
|
|
||||||
- v[0-9]+.[0-9]+.x
|
|
||||||
paths-ignore:
|
|
||||||
- README.md
|
|
||||||
- .github/**
|
|
||||||
- '!.github/workflows/nx.yml'
|
|
||||||
- '!.github/actions/build-rust/action.yml'
|
|
||||||
- '!.github/actions/setup-node/action.yml'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
name: Nx Cloud - Main Job
|
|
||||||
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13.0
|
|
||||||
with:
|
|
||||||
runs-on: macos-latest
|
|
||||||
main-branch-name: master
|
|
||||||
number-of-agents: 5
|
|
||||||
init-commands: |
|
|
||||||
yarn exec nx-cloud start-ci-run --stop-agents-after="build" --agent-count=5
|
|
||||||
environment-variables: |
|
|
||||||
BUILD_TYPE=canary
|
|
||||||
# parallel-commands: |
|
|
||||||
# yarn exec nx-cloud record -- yarn exec nx format:check
|
|
||||||
parallel-commands-on-agents: |
|
|
||||||
yarn exec nx affected --target=build --parallel=5
|
|
||||||
timeout: 60
|
|
||||||
|
|
||||||
agents:
|
|
||||||
name: Nx Cloud - Agents
|
|
||||||
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.13.0
|
|
||||||
with:
|
|
||||||
runs-on: macos-latest
|
|
||||||
number-of-agents: 5
|
|
||||||
environment-variables: |
|
|
||||||
BUILD_TYPE=canary
|
|
||||||
timeout: 60
|
|
||||||
Reference in New Issue
Block a user