{"id":21916903,"url":"https://github.com/zenoo/publish-npm-github-action","last_synced_at":"2026-05-18T00:34:11.851Z","repository":{"id":40702888,"uuid":"380791490","full_name":"Zenoo/publish-npm-github-action","owner":"Zenoo","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-10T06:35:26.000Z","size":388,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-10T08:32:48.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zenoo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-27T16:46:13.000Z","updated_at":"2026-04-10T06:35:22.000Z","dependencies_parsed_at":"2025-01-27T09:38:28.331Z","dependency_job_id":null,"html_url":"https://github.com/Zenoo/publish-npm-github-action","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/Zenoo/publish-npm-github-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fpublish-npm-github-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fpublish-npm-github-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fpublish-npm-github-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fpublish-npm-github-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zenoo","download_url":"https://codeload.github.com/Zenoo/publish-npm-github-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fpublish-npm-github-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33160507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T19:21:32.832Z","updated_at":"2026-05-18T00:34:11.834Z","avatar_url":"https://github.com/Zenoo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Publish to NPM \u0026 Github action\n\nPublish your package on NPM, Github or both, without much configuration.\n\n## Optional inputs\n\n## `publish-to-npm`\n\n**Optional** Should your package be published to npm? Defaults to `true`\n\n## `publish-to-github`\n\n**Optional** Should your package be published to Github? Defaults to `true`\n\n## `github-scope`\n\n**Optional** Custom scope for the Github publication. Defaults to the repository owner\n\n## `github-package-name`\n\n**Optional** Custom package name for the Github publication. Defaults to your repository name\n\n\n## Example usage\n\nIf you want to publish to NPM, you'll need to add a token to your repository's secrets.  \nSee [npm's documentation](https://docs.npmjs.com/creating-and-viewing-access-tokens) to generate your token.  \nAdd this token to your repository as a secret named `NPM_TOKEN`.\n\nAdd a `.github/workflows/publish.yml` file to your repository.\n\n```yml\nname: Publish to NPM \u0026 Github\n\non:\n  push:\n    tags:\n      - 'v*.*.*'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: zenoo/publish-npm-github-action@v1.1.4\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n```\n\nOR\n\n```yml\nname: Publish to NPM \u0026 Github\n\non:\n  push:\n    tags: \n      - 'v*.*.*'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: zenoo/publish-npm-github-action@v1.1.4\n        with:\n          publish-to-npm: false\n          github-scope: 'customscope'\n          github-package-name: 'custompackagename'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenoo%2Fpublish-npm-github-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenoo%2Fpublish-npm-github-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenoo%2Fpublish-npm-github-action/lists"}