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

Set up CI/CD and add worker test #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

lutangar
Copy link

@lutangar lutangar commented Dec 2, 2021

Setup a test workflow, ex:
https://github.com/larriereguichet/alphacep-node-ffi-napi/actions/runs/1531317470

Setup a release workflow, ex:
https://github.com/larriereguichet/alphacep-node-ffi-napi/releases/tag/4.0.4

Then I recommend to:

  1. Merge Setup CI via GitHub action ref-napi#1 and wait until the release process has succeeded.
  2. Create an alphacep organisation on npm (if not already):
    https://www.npmjs.com/org/create
  3. Generate a publish npm access token:
    https://www.npmjs.com/settings/nshmyrev/tokens
  4. Add it as NPM_TOKEN to the repository secrets (or add an organization wide one, then you're done once and for all)
    https://github.com/alphacep/ref-napi/settings/secrets/actions
  5. Push a new tag to publish the new release:
git tag -f 4.0.4
git push origin --tags

@lutangar lutangar changed the title GitHub ci Set up CI Dec 2, 2021
@lutangar lutangar changed the title Set up CI Set up CI/CD Dec 2, 2021
@lutangar lutangar changed the title Set up CI/CD Set up CI/CD and add worker test Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant