Skip to content

Commit

Permalink
Use yarn in drone
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Dec 20, 2017
1 parent d99473b commit 775b526
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
14 changes: 3 additions & 11 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,11 @@ pipeline:
when:
event: [push, pull_request]

npm:
image: owncloudci/php:${PHP_VERSION}
pull: true
commands:
- ./tests/drone/npm-install.sh
when:
event: [push, pull_request]

bower:
image: owncloudci/php:${PHP_VERSION}
yarn:
image: owncloudci/nodejs:latest
pull: true
commands:
- ./tests/drone/bower-install.sh
- ./tests/drone/yarn-install.sh
when:
event: [push, pull_request]

Expand Down
9 changes: 0 additions & 9 deletions tests/drone/bower-install.sh

This file was deleted.

2 changes: 1 addition & 1 deletion tests/drone/npm-install.sh → tests/drone/yarn-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ if [[ "$(pwd)" == "$(cd "$(dirname "$0")"; pwd -P)" ]]; then
exit 1
fi

exec npm install --prefix build
exec yarn install --cwd build

0 comments on commit 775b526

Please sign in to comment.