Remove dep on yarn

This commit is contained in:
mitchellhamilton
2019-09-10 11:31:05 +10:00
parent 6ac15029f6
commit ab0734a919
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -213,7 +213,10 @@ async function execWithOutput(
}
if (shouldBump) {
await exec("git", ["reset", "--hard", github.context.sha]);
let output = await execWithOutput("yarn", ["changeset", "bump"]);
let output = await execWithOutput("node", [
"./node_modules/.bin/changeset",
"bump"
]);
let searchQuery = `repo:${repo}+state:open+head:changeset-release+base:${defaultBranch}`;
let searchResultPromise = octokit.search.issuesAndPullRequests({
q: searchQuery