Skip to content

Commit

Permalink
fix: run build before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 28, 2018
1 parent 2a2bf9b commit 05765fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const tests = testTypes.map(cmd => {
series(...tests.map(t => t[1]).value()) :
concurrent(tests.fromPairs().value())
if (process.env.CIRCLECI) {
return [cmd, series(mkdirp('reports'), tests)]
tests = series(mkdirp('reports'), tests)
}
return [cmd, tests]
return [cmd, series('nps build', tests)]
})

module.exports = {
Expand Down

0 comments on commit 05765fa

Please sign in to comment.