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 publish package workflow #3

Merged
merged 3 commits into from
Mar 31, 2025

Conversation

haydar-metin
Copy link
Contributor

  • We can not reuse the build stage as yarn publish will do a clean build.
  • A new release will be triggered when there is a new tag.

Merge after #2

- name: Publish
run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN}}

For consistency with other CIs. See for example here: https://github.com/eclipse-cdt-cloud/.eclipsefdn/blob/4d17aa1bc29321c976a319e110d118241af8415e/otterdog/eclipse-cdt-cloud.jsonnet#L137

I believe we need to raise a PR for the above file to add the token. I assume using the same "value" as in above referenced example (the bot thingy).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@planger could you take a look?

Copy link
Contributor

Choose a reason for hiding this comment

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

Happy to open a PR. But may need @planger 's approval as project lead anyway.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

@jreineckearm jreineckearm left a comment

Choose a reason for hiding this comment

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

LGTM!

@jreineckearm jreineckearm merged commit 3b28092 into eclipse-cdt-cloud:main Mar 31, 2025
3 checks passed
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.

2 participants