Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Migrate to Circle CI 2.0#77

Merged
f2prateek merged 3 commits intomasterfrom
circle-ci-2.0
Jun 15, 2018
Merged

Migrate to Circle CI 2.0#77
f2prateek merged 3 commits intomasterfrom
circle-ci-2.0

Conversation

@f2prateek
Copy link
Copy Markdown
Contributor

Circle CI v1 is shutting down on August 31st. This migrates the configuration to Circle 2.0.

There should be no functional changes.

steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

we should probably switch to yarn here at some point.

Circle CI v1 is shutting down on August 31st. This migrates the configuration to Circle 2.0.

There should be no functional changes, though we should consider using yarn at some point.
- test
filters:
tags:
only: /[0-9]+(\.[0-9]+)*(-.+)?/
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@ccnixon @Peripheral1994 would love to get some on eyes on this part to ensure we're only deploying under two conditions (as before):

  1. branch is master
  2. version is tagged

@f2prateek
Copy link
Copy Markdown
Contributor Author

cc @fathyb

Copy link
Copy Markdown

@CarlosMecha CarlosMecha left a comment

Choose a reason for hiding this comment

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

Looks good! 💯

jobs:
test:
docker:
- image: circleci/node:4-browsers
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.

Node.js 4 has been dropped and 6 is in maintenance since April. We should consider upgrading to 8 (current LTS).

Node.js Release schedule

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes absolutely! I wanted to avoiding changing too much in this PR, but I think that's a great point. I'll make a ticket for this in the backlog.

@f2prateek f2prateek merged commit 69b49ff into master Jun 15, 2018
@f2prateek f2prateek deleted the circle-ci-2.0 branch June 15, 2018 00:18
f2prateek added a commit that referenced this pull request Jun 15, 2018
This slipped through in the previous PR (#77).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants