Skip to content

Commit

Permalink
chore: update ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Mar 15, 2024
1 parent c0918b6 commit 07fe541
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -36,7 +36,7 @@ jobs:
echo "NX_CI_EXECUTION_ENV=Node $(node --version) -" >> $GITHUB_ENV
- name: Start Nx Cloud CI Run
run: npx nx-cloud start-ci-run --distributes-on="6 custom-linux-medium-plus-js"
run: npx nx-cloud start-ci-run --distributes-on="6 custom-linux-medium-plus-js" --stop-agents-after="e2e-suite"

- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
Expand All @@ -61,8 +61,10 @@ jobs:
cmd2: yarn nx run-many -t test --codeCoverage
cmd3: yarn nx-cloud record -- yarn lint
cmd4: yarn nx-cloud record -- yarn format-check
# Run distributed e2e test suites with independent local registries (max 1 per agent via parallel=1)
cmd5: yarn nx run-many -t e2e-suite --parallel 1

# Run distributed e2e test suites with independent local registries (max 1 per agent via parallel=1)
- name: Run e2e test suites
run: yarn nx run-many -t e2e-suite --parallel 1

- name: Publish code coverage report
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 07fe541

Please sign in to comment.