mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Remove dep on yarn
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -213,7 +213,10 @@ async function execWithOutput(
|
|||||||
}
|
}
|
||||||
if (shouldBump) {
|
if (shouldBump) {
|
||||||
await exec("git", ["reset", "--hard", github.context.sha]);
|
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 searchQuery = `repo:${repo}+state:open+head:changeset-release+base:${defaultBranch}`;
|
||||||
let searchResultPromise = octokit.search.issuesAndPullRequests({
|
let searchResultPromise = octokit.search.issuesAndPullRequests({
|
||||||
q: searchQuery
|
q: searchQuery
|
||||||
|
|||||||
Reference in New Issue
Block a user