Skip to content

add npm publish example#1

Open
andimarek wants to merge 1 commit intomasterfrom
npm-example
Open

add npm publish example#1
andimarek wants to merge 1 commit intomasterfrom
npm-example

Conversation

@andimarek
Copy link
Copy Markdown

No description provided.

@@ -0,0 +1,23 @@
{
"name": "github-packages-test",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub Packages only supports scoped npm packages. Scoped packages have names with the format of @owner/name

Probably should be @atlassian/github-packages-test

},
"repository": {
"type": "git",
"url": "git+https://github.com/atlassian/github-packages-test.git"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to docs probably should be only git. Not sure if git+https will work

env:
GITHUB_MAVEN_USERNAME: ${{ secrets.GITHUB_MAVEN_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_RELEASES_URL: https://maven.pkg.github.com/atlassian/packages-maven
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need MAVEN_RELEASES_URL anymore since umbrella-type repos do not works for our purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants