Skip to content

Commit 0b0d85c

Browse files
Morlinestlafriks
authored andcommitted
Add pre-build step for nodejs stuff (#2581)
1 parent 086eb62 commit 0b0d85c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.drone.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,26 @@ clone:
99
tags: true
1010

1111
pipeline:
12+
pre-build:
13+
image: webhippie/nodejs:latest
14+
pull: true
15+
commands:
16+
- npm install
17+
- make stylesheets-check
18+
when:
19+
event: [ push, tag, pull_request ]
1220
build:
1321
image: webhippie/golang:edge
1422
pull: true
1523
environment:
1624
TAGS: bindata sqlite
1725
GOPATH: /srv/app
1826
commands:
19-
- apk -U add nodejs nodejs-npm
20-
- npm install
2127
- make clean
2228
- make generate
2329
- make vet
2430
- make lint
2531
- make fmt-check
26-
- make stylesheets-check
2732
- make misspell-check
2833
- make test-vendor
2934
- make build

0 commit comments

Comments
 (0)