[feat] add ci config #1
19
.drone.yml
Normal file
19
.drone.yml
Normal 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/**
|
Loading…
Reference in New Issue
Block a user