Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add npm publish example #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add npm publish example #1

wants to merge 1 commit into from

Conversation

andimarek
Copy link

No description provided.

@@ -0,0 +1,23 @@
{
"name": "github-packages-test",
Copy link
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
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

@@ -17,3 +17,12 @@ jobs:
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
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