26 lines
382 B
YAML
26 lines
382 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: Install
|
|
image: node
|
|
commands:
|
|
- npm install
|
|
|
|
- name: Build
|
|
image: node
|
|
commands:
|
|
- npm run build
|
|
|
|
- name: Test
|
|
image: node
|
|
commands:
|
|
- npm run test
|
|
|
|
- name: Discord Notification
|
|
image: appleboy/drone-discord
|
|
settings:
|
|
webhook_id:
|
|
from_secret: webhook_id
|
|
webhook_token:
|
|
from_secret: webhook_token |