mirror of
https://github.com/encounter/yarn.git
synced 2026-03-30 11:43:44 -07:00
b52b7c5f38
Until we get Travis as stable as Circle I rely on Circle green badge when accepting PRs. This change adds the 2 missing commands to Circle.
31 lines
769 B
YAML
31 lines
769 B
YAML
general:
|
|
branches:
|
|
ignore:
|
|
- gh-pages
|
|
dependencies:
|
|
override:
|
|
- nvm install 4.3.2
|
|
- nvm install 6
|
|
- nvm use 6 && nvm alias default 6
|
|
- which node
|
|
# TODO test yarn with node_modules installed via npm2, npm3 and latest stable yarn
|
|
- npm install
|
|
- go get github.com/tcnksm/ghr
|
|
test:
|
|
override:
|
|
- nvm use 4.3.2 && nvm alias default 4.3.2
|
|
- node -v
|
|
- npm run test-ci
|
|
- nvm use 6 && nvm alias default 6
|
|
- node -v
|
|
- npm run test-ci
|
|
- npm run build-dist
|
|
- npm run check-lockfile
|
|
|
|
deployment:
|
|
release:
|
|
tag: /v[0-9]+(\.[0-9]+)*/
|
|
owner: yarnpkg
|
|
commands:
|
|
- ghr --username yarnpkg --repository yarn --token $KPM_CIRCLE_RELEASE_TOKEN v$(node dist/bin/yarn --version) dist/yarn-v*.tar.gz
|