chore(repo): test nx cloud #175
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
node_version: 20 | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
env: | |
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
NX_VERBOSE_LOGGING: 'true' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/workflows/setup | |
with: | |
node_version: ${{ env.node_version }} | |
- run: yarn nx-cloud start-ci-run | |
- run: yarn nx affected --target=build,test,lint --parallel --max-parallel=3 | |
- run: yarn nx affected --target=e2e --parallel | |
- run: yarn nx-cloud stop-all-agents |