Skip to content

Replace Travis with GitHub actions as CI - #402

Merged
valscion merged 6 commits into
masterfrom
github-actions
Dec 3, 2020
Merged

valscion merged 6 commits into
masterfrom
github-actions

Conversation

@valscion

@valscion valscion commented Dec 2, 2020

Copy link
Copy Markdown
Collaborator

Resolves #400

@valscion

valscion commented Dec 2, 2020

Copy link
Copy Markdown
Collaborator Author

I disabled the continuous-integration/travis-ci branch protection for now so that this PR is not blocked on advancing. If @th0r you feel like this is good to go, I can add branch protections for the GitHub actions if necessary.

@valscion valscion changed the title Setup GitHub actions to run tests and lint Replace Travis with GitHub actions as CI Dec 2, 2020
@th0r

th0r commented Dec 2, 2020

Copy link
Copy Markdown
Contributor

I wonder is it possible to add Node.js prefix to version numbers as now it's a bit not obvious what do these numbers mean?

image

@valscion

valscion commented Dec 2, 2020

Copy link
Copy Markdown
Collaborator Author

I don't know — I can check if that's possible when I have the time ☺️

@valscion

valscion commented Dec 3, 2020

Copy link
Copy Markdown
Collaborator Author

It now looks like so:

Replace_Travis_with_GitHub_actions_as_CI_by_valscion_·_Pull_Request__402_·_webpack-contrib_webpack-bundle-analyzer

It seems quite simple to change the name to whatever we want as can be seen by fdb5a0e — feel free to make a direct code suggestion to this PR if you have a better wording in mind ☺️

Comment thread .github/workflows/main.yml Resolved
Co-authored-by: Yuriy Grunin <[email protected]>

@th0r th0r left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@valscion
valscion merged commit 2d12514 into master Dec 3, 2020
@valscion
valscion deleted the github-actions branch December 3, 2020 13:05
@valscion

valscion commented Dec 3, 2020

Copy link
Copy Markdown
Collaborator Author

I can add branch protections for the GitHub actions if necessary.

Do we need the branch protections? I'm not sure if they're necessary — a red CI should be enough for us to avoid merging pull requests.

The CLA-check of course stays as a required status check.

@th0r

th0r commented Dec 3, 2020

Copy link
Copy Markdown
Contributor

Do we need the branch protections?

I don't even know what is that =)

@valscion

valscion commented Dec 3, 2020

Copy link
Copy Markdown
Collaborator Author

Ah, it's this one:

feat__Render_Selected_Module_Size_Total_by_vwb_·_Pull_Request__346_·_webpack-contrib_webpack-bundle-analyzer

So one can't merge a pull request (unless they're an admin and admin overrule is allowed) if a required status check is not successful.

We could configure some or all of the GitHub Actions status checks to be required to be successful to allow merging via https://github.com/webpack-contrib/webpack-bundle-analyzer/settings/branches, from here:

Branch_protection_rule

@th0r

th0r commented Dec 3, 2020

Copy link
Copy Markdown
Contributor

Ah, ok, thanks for the explanation. I don't think we need it.

@valscion

valscion commented Dec 3, 2020

Copy link
Copy Markdown
Collaborator Author

Yeah I think the same, let's keep it as it is now 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Help us migrate CI to GitHub Actions

2 participants