Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

Yarn #77

Closed
wants to merge 4 commits into from
Closed

Yarn #77

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
machine:
node:
version: v6.1.0
version: 6

dependencies:
pre:
# Install Yarn
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
cache_directories:
- "~/.yarn-cache"
override:
- yarn install

test:
override:
Expand Down
23 changes: 9 additions & 14 deletions template/appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
branches:
only:
- master

environment:
nodejs_version: '5.2.0'

install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
- set PATH=%APPDATA%\npm;%PATH%
- npm install
- choco install yarn
- refreshenv
- yarn install

cache:
- "%LOCALAPPDATA%/Yarn"
- node_modules -> package.json

build: off
version: '{build}'
shallow_clone: true
clone_depth: 1
skip_branch_with_pr: true

test_script:
- node --version
- npm --version
- npm test
- yarn test
15 changes: 14 additions & 1 deletion template/circle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
machine:
node:
version: v{{node.major}}.{{node.minor}}.{{node.patch}}
version: 6

dependencies:
pre:
# Install Yarn
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
cache_directories:
- "~/.yarn-cache"
override:
- yarn install
- node ./node_modules/selenium-standalone/bin/selenium-standalone install

test:
override:
Expand Down
4 changes: 2 additions & 2 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"react": "^0.14 || ^15"
},
"devDependencies": {
"react-component-template": "0.1.8",
"cf-react-component-template": "0.1.8"
"react-component-template": "0.1.9",
"cf-react-component-template": "*"
}
}
Loading