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

feat!: migrate Travis to CircleCI, upgrade semver to ^7.3.5 #107

Merged
merged 9 commits into from
Sep 1, 2021

Conversation

VerteDinde
Copy link
Member

@VerteDinde VerteDinde commented Sep 1, 2021

Fixes #105

This PR removes the previous Travis config and starts the release automation on Electron's CircleCI jobs. It also bumps several older dependencies up to more recent versions. This includes a breaking change to semver@^7, which will require Node 10. Given that Node 10 itself is EOL, we're dropping support for any versions of Node older than 10.

BREAKING CHANGE: semver@^7 requires Node 10, so dropping support for Node < 10

@VerteDinde VerteDinde added the WIP label Sep 1, 2021
Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

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

electron/get@5b0a172#diff-e774e90e159e39c0a392fffa584ea8520508a9a0c10468d0bd685800e28a42f5

See above commit for an example of adding CFA to a repo, you need to add the .releaserc file and the continuous-auth dependency.

Ref: https://docs.continuousauth.dev/usage/semantic-release

filters:
branches:
only:
- master
Copy link
Member Author

Choose a reason for hiding this comment

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

Once we have the CI pipeline up and running, it would awesome to port the default branch over to main; I did a quick sweep of the repo and this PR has the only places where "master" is hardcoded 🙂 But we can make sure this is working first!

@VerteDinde VerteDinde requested a review from malept September 1, 2021 22:50
Copy link
Member

@malept malept left a comment

Choose a reason for hiding this comment

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

Since there's a breaking change here and we're also enabling CFA, the PR title should reflect the breaking change:

feat!: use CircleCI, upgrade semver to ^7.3.5

BREAKING CHANGE: semver@^7 requires Node 10, so dropping support for Node < 10

@VerteDinde VerteDinde changed the title chore: move travis config to circleci config feat: migrate Travis to CircleCI, upgrade semver to ^7.3.5 Sep 1, 2021
@VerteDinde VerteDinde changed the title feat: migrate Travis to CircleCI, upgrade semver to ^7.3.5 feat!: migrate Travis to CircleCI, upgrade semver to ^7.3.5 Sep 1, 2021
@MarshallOfSound MarshallOfSound merged commit a3b533b into master Sep 1, 2021
@MarshallOfSound MarshallOfSound deleted the add-circle-ci branch September 1, 2021 23:39
MarshallOfSound pushed a commit that referenced this pull request Sep 1, 2021
* chore: move travis config to circleci config

* chore: retrigger build, clean up steps

* chore: add additional tests for node versions

* chore: add node 12 and 14

* chore: remove unneeded platform tests

* chore: add CFA dependencies

* chore: updats old deps, remove travis.yml

* chore: add yarn.lock

* chore: add node >=10 engine

BREAKING CHANGE: semver@^7 requires Node 10, so dropping support for Node < 10
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.

CI is deprecated, module no longer auto-publishes
3 participants