-
Notifications
You must be signed in to change notification settings - Fork 30
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
feat(setup): add github actions as CI option #502
Conversation
I added base and manual config for github actions, but for some reasons, when I ran from my computer 👉🏻https://github.com/jeetiss/try-shipjs/pull/22/files This result I saw when trigger ship prepare from action 👉🏻https://github.com/jeetiss/try-shipjs/pull/22/files @uetchy @eunjae-lee any ideas why this happening? |
Ah... this might be because of the recent change I made. |
I just merged #525. |
Thanks 🙌🏻 |
@eunjae-lee, I realize, that I can't test #525, and I hope it'll be work! PR ready for review, I test prepare command with Last thing that we should discuss about, it is Github Actions have this token on default, but it don't have enough access permissions for push tags and create release, I can't create another token with that name, because of that I choose another name for token 👉🏻 Maybe we should use that name for CircleCI and Github Actions for consistency? Or will be enough just point to it in readme? Ow, readme! I need help with readme! |
Yes.
Ship.js can get but for it user need setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for a lot of effort on this PR 🎉
I left some comments.
Let me know how you think.
And I guess we can go with GH_TOKEN
and write a proper guide why we decided to do so, instead of forcing all existing users to move on to new env var.
Normally they will use either CircleCI or GitHub Actions. So they will have either GITHUB_TOKEN
or GH_TOKEN
, but not both of them, right? What do you think?
@eunjae-lee I find why and now it should works fine! |
What would be the best way for me to test this PR? |
You can run |
@jeetiss can you take a look at this? It says there's a syntax error in the yml file. |
It is private, I see 404 |
I find problem 🤪 |
Sorry it was private. Now it's public. I updated the ymls and now I get another error. Can you check it please? I think the error comes from here: https://github.com/algolia/shipjs/blob/master/packages/shipjs-lib/src/lib/git/isWorkingTreeClean.js#L5:L5 And when you see this issue https://github.com/eunjae-lee/dummy-lib-1111/issues/87 , and it'd be nice if we get rid of the quote around the comment 🙂 Sorry for not responding to you quickly enough. |
I don't add support for
I can detect that yarn using in repo and change install command in actions or just run Fix that
I don't hurry, lets make better solution 🙌🏻 |
@jeetiss Hey, https://github.com/eunjae-lee/dummy-lib-1111/commit/9748f046a49a6c8b208e5dafccf428841b8b5a27 What about this? |
@jeetiss I guess we can merge this now. What do you think? 🙂 |
Yes, I test all things Thanks for so simple solution |
Thanks for the amazing work 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran linter and tests on my local, so I'm merging this without waiting for CircleCI,
because they don't run on the PRs from external contributors.
closes #346
closes #489