summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorMorlinest <Morlinest@users.noreply.github.com>2017-09-24 23:49:32 +0200
committerLauris BH <lauris@nix.lv>2017-09-25 00:49:32 +0300
commit0b0d85c90d609b84b26dc4f6ae31c4652f9243bb (patch)
tree279150ddef1d568e6a584a4e2364d51085f7a32e /.drone.yml
parent086eb62691ad6609f4b0abab2b3fffd96fc0ba58 (diff)
downloadgitea-0b0d85c90d609b84b26dc4f6ae31c4652f9243bb.tar.gz
gitea-0b0d85c90d609b84b26dc4f6ae31c4652f9243bb.zip
Add pre-build step for nodejs stuff (#2581)
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index b42f067329..703d6525b1 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -9,6 +9,14 @@ clone:
tags: true
pipeline:
+ pre-build:
+ image: webhippie/nodejs:latest
+ pull: true
+ commands:
+ - npm install
+ - make stylesheets-check
+ when:
+ event: [ push, tag, pull_request ]
build:
image: webhippie/golang:edge
pull: true
@@ -16,14 +24,11 @@ pipeline:
TAGS: bindata sqlite
GOPATH: /srv/app
commands:
- - apk -U add nodejs nodejs-npm
- - npm install
- make clean
- make generate
- make vet
- make lint
- make fmt-check
- - make stylesheets-check
- make misspell-check
- make test-vendor
- make build