Added ignore cache for ct test and disabled main ci temporarily #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI - CT | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
# Needed for nx-set-shas within nx-cloud-main.yml, when run on the master branch | |
permissions: | |
actions: read | |
contents: read | |
jobs: | |
main: | |
name: Nx Cloud - Main Job | |
uses: nrwl/ci/.github/workflows/[email protected] | |
with: | |
main-branch-name: main | |
number-of-agents: 1 | |
init-commands: | | |
npx nx-cloud start-ci-run --stop-agents-after="component-test" --agent-count=1 | |
parallel-commands: | | |
npx nx-cloud record -- npx nx format:check | |
parallel-commands-on-agents: | | |
npx nx run-many --target=component-test --parallel=2 --skipNxCache | |
agents: | |
name: Nx Cloud - Agents | |
uses: nrwl/ci/.github/workflows/[email protected] | |
with: | |
number-of-agents: 1 |