chore: version packages (beta) #1863
Workflow file for this run
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 | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
main: | |
name: Nx Cloud - Main Job | |
uses: nrwl/ci/.github/workflows/[email protected] | |
secrets: | |
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
with: | |
pnpm-version: 8.6.10 | |
node-version: 18.16.0 | |
number-of-agents: 4 | |
main-branch-name: 'develop' | |
init-commands: | | |
npx nx-cloud record -- pnpm exec prettier . --ignore-path .ci.prettierignore --check | |
parallel-commands-on-agents: | | |
pnpm exec nx run-many --target=lint --parallel=4 | |
pnpm exec nx run-many --target=test:ci --parallel=4 | |
pnpm exec nx run-many --target=build --parallel=4 | |
agents: | |
name: Nx Cloud - Agents | |
uses: nrwl/ci/.github/workflows/[email protected] | |
secrets: | |
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
with: | |
number-of-agents: 4 | |
pnpm-version: 8.6.10 | |
node-version: 18.16.0 |