chore: try lighter ci

This commit is contained in:
DarkSky
2022-08-07 19:06:14 +08:00
parent 1e94bd5bcf
commit 574fb6d393
6 changed files with 42 additions and 17 deletions

25
.github/workflows/check.yml vendored Normal file
View File

@@ -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