{"action":"created","issue":{"url":"https://api.github.com/repos/matthew-andrews/npm-test-codeship-publish/issues/1","labels_url":"https://api.github.com/repos/matthew-andrews/npm-test-codeship-publish/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/matthew-andrews/npm-test-codeship-publish/issues/1/comments","events_url":"https://api.github.com/repos/matthew-andrews/npm-test-codeship-publish/issues/1/events","html_url":"https://github.com/matthew-andrews/npm-test-codeship-publish/issues/1","id":129160549,"number":1,"title":"So ... how did it go? :)","user":{"login":"jedrichards","id":1078571,"avatar_url":"https://avatars.githubusercontent.com/u/1078571?v=3","gravatar_id":"","url":"https://api.github.com/users/jedrichards","html_url":"https://github.com/jedrichards","followers_url":"https://api.github.com/users/jedrichards/followers","following_url":"https://api.github.com/users/jedrichards/following{/other_user}","gists_url":"https://api.github.com/users/jedrichards/gists{/gist_id}","starred_url":"https://api.github.com/users/jedrichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedrichards/subscriptions","organizations_url":"https://api.github.com/users/jedrichards/orgs","repos_url":"https://api.github.com/users/jedrichards/repos","events_url":"https://api.github.com/users/jedrichards/events{/privacy}","received_events_url":"https://api.github.com/users/jedrichards/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-27T14:32:40Z","updated_at":"2016-01-28T14:52:19Z","closed_at":"2016-01-27T18:56:23Z","body":"When googling for information about how to publish npm modules on CodeShip this repo comes near the top of the search results.\r\n\r\nHow did your test go? Did you get it working? I can't find much/any info.\r\n\r\nI've got something working but it feels a bit hacky. Basically looks like this on CodeShip to login and then publish:\r\n\r\n```\r\necho -e \"$NPM_USERNAME\\n$NPM_PASSWORD\\n$NPM_EMAIL\" | npm login\r\nnpm publish\r\n```\r\n\r\nDid you manage anything more robust, or more idiomatic?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/matthew-andrews/npm-test-codeship-publish/issues/comments/176223104","html_url":"https://github.com/matthew-andrews/npm-test-codeship-publish/issues/1#issuecomment-176223104","issue_url":"https://api.github.com/repos/matthew-andrews/npm-test-codeship-publish/issues/1","id":176223104,"user":{"login":"matthew-andrews","id":825088,"avatar_url":"https://avatars.githubusercontent.com/u/825088?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-andrews","html_url":"https://github.com/matthew-andrews","followers_url":"https://api.github.com/users/matthew-andrews/followers","following_url":"https://api.github.com/users/matthew-andrews/following{/other_user}","gists_url":"https://api.github.com/users/matthew-andrews/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-andrews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-andrews/subscriptions","organizations_url":"https://api.github.com/users/matthew-andrews/orgs","repos_url":"https://api.github.com/users/matthew-andrews/repos","events_url":"https://api.github.com/users/matthew-andrews/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-andrews/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T14:52:19Z","updated_at":"2016-01-28T14:52:19Z","body":"there's a danger if you put it in the project root that you might accidentally publish that `.npmrc` in that package **onto** the npm registry."}}