Skip to content

Commit

Permalink
chore(ci): avoid build to fail when running from develop branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tinesoft committed Mar 29, 2024
1 parent 80494e4 commit 19b3be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- run: pnpm exec nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml" --stop-agents-after="e2e" --with-env-vars="ANDROID_SDK_VERSION,FLUTTER_VERSION,JDK_VERSION"

# This line is needed for nx affected to work when CI is running on a PR
- run: git branch --track develop origin/develop
- run: git branch --track develop origin/develop || exit 0

- run: pnpm exec nx-cloud record -- nx format:check
- run: pnpm exec nx affected -t lint test build e2e --exclude=smoke --codeCoverage

0 comments on commit 19b3be6

Please sign in to comment.