Skip to content

Commit

Permalink
fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
darkobits committed Jun 26, 2023
1 parent 0bd7596 commit 2db0d1c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions nr.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { nr } from '@darkobits/ts';


export default nr(({ script, command }) => {
export default nr(({ script, command, isCI }) => {
script('test.smoke', {
group: 'Testing',
run: [
Expand Down Expand Up @@ -55,8 +55,9 @@ export default nr(({ script, command }) => {
timing: true
});

script('postPrepare', {
run: ['script:test.smoke']
});

if (!isCI) {
script('postPrepare', {
run: ['script:test.smoke']
});
}
});

0 comments on commit 2db0d1c

Please sign in to comment.