[feat] add ci config

This commit is contained in:
Jay 2020-06-03 15:52:22 +00:00
parent 6a3a851c31
commit 4e11976667
1 changed files with 19 additions and 0 deletions

19
.drone.yml Normal file
View File

@ -0,0 +1,19 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: test
image: node:lts
commands:
- npm i
- npm test
when:
ref:
- refs/heads/**
trigger:
ref:
include:
- refs/heads/**
- refs/tags/**