-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
🛠️ Repo: Switch automations to GitHub Actions (GHA) #4117
Comments
release might be problematic. we should be using npm's 2FA, which--last time I checked--means a machine cannot publish. I'll poke around and see what that looks like. tbh, I'm interested in moving the entire build to GH actions. I've been using it in my other projects, and it's nice & fast. not sure what the SauceLabs integration looks like though. |
Thanks man. In fact that sounds likely 😔. Let's break it down and see where the issues are. |
Regarding publishing and 2FA: could Wombat evtl. be a solution? |
Moving to Github Actions means running everything in docker, which conveniently means a consistent environment for running stuff locally, too. So e.g. folks on Windows can publish as long as they have docker installed. For publishing, you can tell npm to publish a pre-built tarball |
@cspotcode Interesting. |
Even on Windows without WSL, that should work correctly.
…On Sat, Jan 18, 2020, 1:41 AM Juerg B. ***@***.***> wrote:
@cspotcode <https://github.com/cspotcode> Interesting.
On my Windows I have WSL2.0 / Ubuntu / VSCode WSL-extension installed. As
an alternative to your docker solution, I just need to install npm on
Ubuntu side, then I could run npm publish downloaded-tarball.tar.gz.
Right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4117?email_source=notifications&email_token=AAC35OHG7VAVXVLCYEJXHH3Q6KQCLA5CNFSM4JUU33GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJJR2IQ#issuecomment-575872290>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC35ODOJIQB6JS6XJFKJADQ6KQCLANCNFSM4JUU33GA>
.
|
Yes we should. And you can set up NPM with 2FA and still publish. You have to log into NPM with the publishing account and set up an |
Can we make some of the manual processes which are time consuming (and limited to those with an OS which can run the required tasks) automated via Githubs actions?
Look at:
Note only mocha repository collaborators will have permission create workflows.
The text was updated successfully, but these errors were encountered: