chore: version packages (beta) (#604) #2375
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.11.0 | |
node-version: 20.10.0 | |
number-of-agents: 4 | |
main-branch-name: 'develop' | |
init-commands: | | |
npx nx-cloud record -- pnpm exec biome check --config-path configs . | |
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.11.0 | |
node-version: 20.10.0 |