Skip to content

On Releasing a package from ci I am getting "total_count": 0, though getting published successfully.  #377

@ayushnau

Description

@ayushnau

On Releasing a package from ci I am getting "total_count": 0, though getting published successfully. on checking the npm registries only the package.json is getting published and no code.

{
"total_count": 0,
"incomplete_results": false,
"items": []
}

Expected object I am looking for is this
{
"total_count": 1,
"incomplete_results": false,
"items": [
{
"url": "https://api.github.com/repos/ayushnau/parser-js/issues/13",
"repository_url": "https://api.github.com/repos/ayushnau/parser-js",
"labels_url": "https://api.github.com/repos/ayushnau/parser-js/issues/13/labels{/name}",
"comments_url": "https://api.github.com/repos/ayushnau/parser-js/issues/13/comments",
"events_url": "https://api.github.com/repos/ayushnau/parser-js/issues/13/events",
"html_url": "https://github.com/ayushnau/parser-js/pull/13",
"id": 2393940988,
"node_id": "PR_kwDOLwx1Mc50m4J8",
"number": 13,
"title": "chore(release): version packages",
"user": {
"login": "ayushnau",
"id": 78146753,
"node_id": "MDQ6VXNlcjc4MTQ2NzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/78146753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayushnau",
"html_url": "https://github.com/ayushnau",
"followers_url": "https://api.github.com/users/ayushnau/followers",
"following_url": "https://api.github.com/users/ayushnau/following{/other_user}",
"gists_url": "https://api.github.com/users/ayushnau/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ayushnau/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ayushnau/subscriptions",
"organizations_url": "https://api.github.com/users/ayushnau/orgs",
"repos_url": "https://api.github.com/users/ayushnau/repos",
"events_url": "https://api.github.com/users/ayushnau/events{/privacy}",
"received_events_url": "https://api.github.com/users/ayushnau/received_events",
"type": "User",
"site_admin": false
},
"labels": [],
"state": "open",
"locked": false,
"assignee": null,
"assignees": [],
"milestone": null,
"comments": 0,
"created_at": "2024-07-07T08:00:37Z",
"updated_at": "2024-07-07T08:00:37Z",
"closed_at": null,
"author_association": "OWNER",
"active_lock_reason": null,
"draft": false,
"pull_request": {
"url": "https://api.github.com/repos/ayushnau/parser-js/pulls/13",
"html_url": "https://github.com/ayushnau/parser-js/pull/13",
"diff_url": "https://github.com/ayushnau/parser-js/pull/13.diff",
"patch_url": "https://github.com/ayushnau/parser-js/pull/13.patch",
"merged_at": null
},
"body": "This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to feat-master-multiparser-testing, this PR will be updated.\n\n\n# Releases\n## @ayushnautiyal706020/multi-parser@2.20.0\n\n### Minor Changes\n\n- 4fcd48b: asdfad\n\n## @ayushnautiyal706020/parser@3.7.0\n\n### Minor Changes\n\n- 4fcd48b: asdfad\n",
"reactions": {
"url": "https://api.github.com/repos/ayushnau/parser-js/issues/13/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
},
"timeline_url": "https://api.github.com/repos/ayushnau/parser-js/issues/13/timeline",
"performed_via_github_app": null,
"state_reason": null,
"score": 1
}
]
}
updating found pull request #13

I am using turborepo which has two packages 1. parser 2. multi-parser. the config for both are same. everywhere. the second object that i have publish is for the parser and the first one i am getting is for multiparser.

npm version: 18.8.0
changeset cli version : "^2.27.7"

CI link:
https://github.com/ayushnau/parser-js/actions/runs/9825700381/job/27126183847

github Link
https://github.com/ayushnau/parser-js/tree/feat-master-multiparser-testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions