mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Added pullRequestNumber to the action's outputs (#167)
* feat: set pullRequesstNumber as action output * chore: add changeset * fix: feedback from pr review * Update .changeset/long-mayflies-yell.md Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com> Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
This commit is contained in:
co-authored by
Mateusz Burzyński
parent
c7c59f0c6f
commit
993a0a090d
@@ -57,6 +57,10 @@ describe("version", () => {
|
||||
() => ({ data: { items: [] } })
|
||||
);
|
||||
|
||||
mockedGithubMethods.pulls.create.mockImplementationOnce(
|
||||
() => ({ data: { number: 123 } })
|
||||
);
|
||||
|
||||
await writeChangesets(
|
||||
[
|
||||
{
|
||||
@@ -92,6 +96,10 @@ describe("version", () => {
|
||||
() => ({ data: { items: [] } })
|
||||
);
|
||||
|
||||
mockedGithubMethods.pulls.create.mockImplementationOnce(
|
||||
() => ({ data: { number: 123 } })
|
||||
);
|
||||
|
||||
await writeChangesets(
|
||||
[
|
||||
{
|
||||
@@ -123,6 +131,10 @@ describe("version", () => {
|
||||
() => ({ data: { items: [] } })
|
||||
);
|
||||
|
||||
mockedGithubMethods.pulls.create.mockImplementationOnce(
|
||||
() => ({ data: { number: 123 } })
|
||||
);
|
||||
|
||||
await writeChangesets(
|
||||
[
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user