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 release workflow #336

Merged
merged 3 commits into from
Aug 20, 2023
Merged

Add npm release workflow #336

merged 3 commits into from
Aug 20, 2023

Conversation

Methuselah96
Copy link
Collaborator

@Methuselah96 Methuselah96 commented Aug 20, 2023

  • Adds a GitHub action that will release the package to npm. It will be triggered whenever a new release is created on GitHub or can also be manually triggered.
  • Moves building the package to prepack, see https://yarnpkg.com/advanced/lifecycle-scripts for a deeper explanation of why. Adds linting and testing to prepublishOnly.

@Methuselah96 Methuselah96 changed the title Add release workflow Add npm release workflow Aug 20, 2023
@Methuselah96 Methuselah96 merged commit ca250fb into master Aug 20, 2023
1 check passed
@Methuselah96 Methuselah96 deleted the release-workflow branch August 20, 2023 18:33
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