-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: don't install bats twice (#1574)
`bats` is already installed via npm (this was introduced in [#1252][1]), so we don't need to install it in the CircleCI build file. The CircleCI build file was also installing the original bats, while the [`local`][2] and [`run`][3] packages install a [fork from npm][4]. In addition, I switched the command inside the bats runners from `npx bats` (which will download/install the latest binary if `yarn install` was not already run), to `yarn bats`, which will always use the version specified in the lockfile. This is more consistent with how we run other commands anyway. [1]: #1252 [2]: https://github.com/heroku/cli/blob/62085d32f8fa3574bbe03bba707f1f576a9858bf/packages/local/bin/bats-test-runner.js [3]: https://github.com/heroku/cli/blob/62085d32f8fa3574bbe03bba707f1f576a9858bf/packages/run/bin/bats-test-runner.js [4]: https://www.npmjs.com/package/bats
- Loading branch information
1 parent
62085d3
commit 2715f9c
Showing
3 changed files
with
4 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters