Skip to content

Commit

Permalink
Cleanup drone build
Browse files Browse the repository at this point in the history
  • Loading branch information
terodox committed Jan 17, 2019
1 parent 4be0319 commit 459bfd2
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,15 @@ pipeline:
install:
image: node:10
commands:
- echo "//registry.npmjs.org/:_authToken=$${NPM_INSTALL_TOKEN}" > ~/.npmrc
- npm install
secrets:
- npm_install_token
test:
image: meltwaterlegion/node-headless-chrome
commands:
- echo "//registry.npmjs.org/:_authToken=$${NPM_INSTALL_TOKEN}" > ~/.npmrc
- npm test
secrets:
- npm_install_token
build:
image: node:10
commands:
- echo "//registry.npmjs.org/:_authToken=$${NPM_INSTALL_TOKEN}" > ~/.npmrc
- npm run build
secrets:
- npm_install_token
when:
event: tag
deploy:
Expand All @@ -39,8 +30,6 @@ pipeline:
- echo "//registry.npmjs.org/:_authToken=$${NPM_DEPLOY_TOKEN}" > ~/.npmrc
- echo "unsafe-perm=true" >> ~/.npmrc
- npm publish
environment:
- BUILD_ENV=production
secrets:
- npm_deploy_token
when:
Expand Down

0 comments on commit 459bfd2

Please sign in to comment.