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

ci: add github workflows for test/build/publish #311

Merged
merged 4 commits into from
Sep 5, 2019

Conversation

aquariuslt
Copy link
Collaborator

This PR add 2 workflows:

  • ci: will trigger ci step when push on any branch, like travis ci config, executing npm install & npm test

  • publish: will trigger when create a release from github repository release tab, autorun npm install, npm run build and npm publish

To Apply publish workflow, npm packages admin suppose to generate a publish token and set as SECRET NODE_AUTH_TOKEN at repository. Refer to Github Actions: Setup Node

Todo:

  • when calling postpublish step, it will trigger deploy github pages. It needs to be integrated with github actions

@aquariuslt aquariuslt requested review from progrape and z2014 September 4, 2019 17:24
@coveralls
Copy link

Coverage Status

Coverage remained the same at 81.342% when pulling 56fecbd on aquariuslt:master into f3c9d6d on weui:master.

@z2014 z2014 merged commit c74a370 into weui:master Sep 5, 2019
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