diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-09-03 21:06:49 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-10-09 11:16:03 +0300 |
commit | 83afb697f3173faa4422bcc388c63aa6e6c00d74 (patch) | |
tree | 996d2f00ffda1dbd19e8a76bdac87b1e3486acf1 /.drone.yml | |
parent | b930a6d769748966ab298b8ad48f59f30c0f6f04 (diff) |
Update nodejs.yml
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/.drone.yml b/.drone.yml index e5e38fb27..1039a6052 100644 --- a/.drone.yml +++ b/.drone.yml @@ -132,36 +132,25 @@ trigger: kind: pipeline name: frontend steps: - - name: eslint + - name: install image: node:lts-alpine commands: - npm install + - name: eslint + image: node:lts-alpine + commands: - npm run lint - name: stylelint image: node:lts-alpine commands: - - npm install - npm run stylelint - name: vue-build image: node:lts-alpine commands: - - npm install - npm run build -trigger: - branch: - - master - - stable* - event: - - pull_request - - push ---- -kind: pipeline -name: jest -steps: - name: jest image: node:lts-alpine commands: - - npm install - npm run test trigger: branch: |