Skip to content

Commit

Permalink
Merge pull request #336 from blocto/fix/ci-step-failure
Browse files Browse the repository at this point in the history
fix: run without cache if test failed
  • Loading branch information
akira02 authored Dec 29, 2023
2 parents 31a4b23 + cbd5e98 commit a9ec59f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:
id: testWithCache
run: yarn turbo lint test build --cache-dir=.turbo
continue-on-error: true

- name: Try to do again without cache
if: failure() && steps.testWithCache.outcome == 'failure'
if: steps.testWithCache.outcome == 'failure'
run: yarn turbo lint test build --force --cache-dir=.turbo

0 comments on commit a9ec59f

Please sign in to comment.