This commit is contained in:
parent
5a03779139
commit
dc72a6389a
15
.drone.yml
15
.drone.yml
@ -4,13 +4,16 @@ type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: node:12
|
||||
commands:
|
||||
- npm install
|
||||
- npm run ci
|
||||
- name: build
|
||||
image: node:12
|
||||
commands:
|
||||
- npm install
|
||||
- npm run ci
|
||||
services:
|
||||
- name: redis
|
||||
image: redis:5-alpine
|
||||
---
|
||||
kind: signature
|
||||
hmac: a49a1e7c428472d0237bb2ba73511965607384f45114941b869c6a9eff7aef70
|
||||
hmac: a88ee9f582a6f84910dc99e1deac94587796a88b0fda212c78a4c80422bbf33b
|
||||
|
||||
...
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
stages:
|
||||
- test
|
||||
|
||||
test:
|
||||
image: node:12
|
||||
stage: test
|
||||
variables:
|
||||
TEST_REDIS_HOST: redis
|
||||
script:
|
||||
- npm install
|
||||
- npm run ci
|
||||
services:
|
||||
redis:5-alpine
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
language: node_js
|
||||
services:
|
||||
- redis-server
|
||||
node_js:
|
||||
- "8"
|
||||
- "12"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user