Skip to content

Commit

Permalink
Merge pull request #29 from StratoKit/fix-vitest
Browse files Browse the repository at this point in the history
ci: fix vitest run
  • Loading branch information
wmertens committed Jul 19, 2023
2 parents bf19ce1 + 51d8689 commit b587842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-scripts.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const scripts = {
default: series.nps('lint', 'test.full'),
// Note, this changes the repo during the run
ci: isPR
? `git reset ${comparisonRef} && vitest --ci --coverage --color --segfault-retry 5 --changed; out=$?; git reset HEAD@{1}; exit $out`
: `vitest --ci --coverage --color --segfault-retry 5`,
? `git reset ${comparisonRef} && vitest --coverage --color --segfault-retry 5 --changed; out=$?; git reset HEAD@{1}; exit $out`
: `vitest run --coverage --color --segfault-retry 5`,
full: 'vitest run --coverage --color --segfault-retry 5',
watch: 'vitest --color --watch',
},
Expand Down

0 comments on commit b587842

Please sign in to comment.