diff --git a/config/travis.js b/config/travis.js index 9fdf828..e59acf3 100644 --- a/config/travis.js +++ b/config/travis.js @@ -64,15 +64,23 @@ function makeTasks(mode /*: "BASIC" | "FULL" */) { }, ]; const extraTasks = [ + { + id: "backend-in-place", + cmd: ["npm", "run", "--silent", "backend"], + // This task depends on `check-pretty` in order to work around a + // race condition in Prettier: + // https://github.com/prettier/prettier/issues/4468 + deps: ["check-pretty"], + }, { id: "fetchGithubRepoTest", cmd: ["./src/plugins/github/fetchGithubRepoTest.sh", "--no-build"], - deps: ["backend"], + deps: ["backend-in-place"], }, { id: "loadRepositoryTest", cmd: ["./src/plugins/git/loadRepositoryTest.sh", "--no-build"], - deps: ["backend"], + deps: ["backend-in-place"], }, ]; switch (mode) {