Skip to content

yarn on CI? #189

Open
Open

Description

@SethDavenport

I'm a big fan of yarn: https://yarnpkg.com/

I don't think we should require people to use it, but it might be worth getting it to work on CI for reliability (yarn.lock) and build speed.

Should just be a matter of updating the circle.yaml as follows:

machine:
  node:
    version: 6
dependencies:
  pre:
    - npm install -g [email protected]
  override:
    - yarn install
test:
  pre:
    - yarn run clean
    - yarn run test:lint
  override:
    - yarn test
general:
  artifacts:
    - "./coverage"

And also doing yarn install locally and checking in the yarn.lock file.

Activity

  1. SethDavenport commented on Oct 28, 2016

    @SethDavenport
    ContributorAuthor

    Yes, we want it :)

  2. SethDavenport commented on Oct 28, 2016

    @SethDavenport
    ContributorAuthor

    We won't force people to use it; things will still work using npm. But CI will use yarn.

  3. SethDavenport commented on Oct 31, 2016

    @SethDavenport
    ContributorAuthor

    Added to api-koa-starter. Also boosted the node requirement to v6 since it's LTS now.

  4. self-assigned this
    on Nov 2, 2016
  5. SethDavenport commented on Jan 27, 2017

    @SethDavenport
    ContributorAuthor
    • create react app script: creates a yarnified circle.yml
    • angular2-starter: yarnified circle.yml
    • api-koa-starter: yarnified circle.yml
  6. SethDavenport commented on Jan 27, 2017

    @SethDavenport
    ContributorAuthor

    You may need to switch your circle ci settings to use ubuntu 14.04 containers

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions