code-corps / code-corps/code-corps-ember

Research possible approaches to speeding up dependencies portion of CI builds

未关闭
#1,084 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Difficulty: Easy
主要语言
JavaScript
星标
120
派生
75
PR 合并指标
30 天内没有已合并 PR

描述

# Problem

Our `circle.yml` does the following at time of writing:

```
dependencies:
pre:
- |
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
fi
cache_directories:
- ~/.yarn
- ~/.cache/yarn
- /home/ubuntu/nvm/versions/node/v6.9.4/bin
- /home/ubuntu/nvm/versions/node/v6.9.4/lib/node_modules
override:
- yarn global add bower
- yarn global add phantomjs-prebuilt
- yarn add node-sass
- yarn install
- bower install
```

The slowest steps of the `override` are as follows:
- `yarn global add bower` ~10s
- `yarn global add phantomjs-prebuilt` ~10s
- `yarn add node-sass` ~25s
- `yarn install` ~25s

Someone should research if there is any way to speed any of these steps up.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。