2022-08-07 14:06:14 +03:00
|
|
|
name: standard check
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-08-08 11:31:49 +03:00
|
|
|
branches: [ "develop", "master" ]
|
2022-08-07 14:06:14 +03:00
|
|
|
pull_request:
|
2022-08-08 11:31:49 +03:00
|
|
|
branches: [ "develop", "master" ]
|
2022-08-07 19:04:15 +03:00
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
|
|
|
|
cancel-in-progress: true
|
2022-08-07 14:06:14 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
main:
|
|
|
|
name: Nx Cloud - Main Job
|
2022-08-08 12:54:00 +03:00
|
|
|
uses: ./.github/workflows/nx-cloud-main.yml
|
2022-08-07 16:46:56 +03:00
|
|
|
secrets: inherit
|
2022-08-07 14:06:14 +03:00
|
|
|
with:
|
2022-08-07 19:04:15 +03:00
|
|
|
main-branch-name: develop
|
2022-08-09 05:22:52 +03:00
|
|
|
# number-of-agents: 2
|
2022-08-07 14:06:14 +03:00
|
|
|
parallel-commands: |
|
|
|
|
pnpm exec nx-cloud record -- pnpm exec nx format:check
|
2022-08-08 11:37:04 +03:00
|
|
|
pnpm e2e:ci ${{ github.ref == 'refs/heads/develop' && '--record' || '' }}
|
2022-08-07 21:30:15 +03:00
|
|
|
pnpm exec nx affected --target=lint --parallel=2 --exclude=components-common,keck,theme
|
|
|
|
pnpm exec nx affected --target=build --parallel=2
|
2022-08-09 05:22:52 +03:00
|
|
|
# parallel-commands-on-agents: |
|
|
|
|
# pnpm exec nx affected --target=lint --parallel=2 --exclude=components-common,keck,theme
|
|
|
|
# pnpm exec nx affected --target=build --parallel=2
|
2022-08-07 14:06:14 +03:00
|
|
|
|
2022-08-09 05:22:52 +03:00
|
|
|
# agents:
|
|
|
|
# name: Nx Cloud - Agents
|
|
|
|
# uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.6
|
|
|
|
# with:
|
|
|
|
# number-of-agents: 2
|