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

Research possible approaches to speeding up dependencies portion of CI builds

Đang mở
#1,084 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Difficulty: Easy
Ngôn ngữ chính
JavaScript
Star
120
Fork
75
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.