Skip to content

Commit

Permalink
fixup! fixup! ci: easy pre-releases for new packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbbot committed Jan 19, 2024
1 parent 888f3c9 commit 565b549
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/prereleases/0-packages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ const githubEventContents = fs.readFileSync(githubEventPath, "utf8");
const githubEvent = JSON.parse(githubEventContents);
const githubPullRequestNumber = githubEvent?.pull_request?.number;
assert(
typeof githubPullRequestNumber`Expected valid pull_request event, got ${githubEventContents}`
typeof githubPullRequestNumber === "number",
`Expected valid pull_request event, got ${githubEventContents}`
);

/**
Expand Down

0 comments on commit 565b549

Please sign in to comment.