2022-10-19 15:46:41 +02:00
|
|
|
kind: pipeline
|
2022-10-19 16:11:11 +02:00
|
|
|
name: AMD64
|
2022-10-19 15:46:41 +02:00
|
|
|
|
|
|
|
steps:
|
2022-10-19 16:05:44 +02:00
|
|
|
- name: Install
|
2022-10-19 15:46:41 +02:00
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- npm install
|
2022-10-19 16:02:19 +02:00
|
|
|
|
2022-10-19 16:05:44 +02:00
|
|
|
- name: Build
|
2022-10-19 16:02:19 +02:00
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- npm run build
|
|
|
|
|
2022-10-19 16:05:44 +02:00
|
|
|
- name: Test
|
2022-10-19 16:02:19 +02:00
|
|
|
image: node
|
|
|
|
commands:
|
2022-10-19 16:05:44 +02:00
|
|
|
- npm run test
|
|
|
|
|
|
|
|
- name: Discord Notification
|
|
|
|
image: appleboy/drone-discord
|
|
|
|
settings:
|
|
|
|
webhook_id:
|
|
|
|
from_secret: webhook_id
|
|
|
|
webhook_token:
|
|
|
|
from_secret: webhook_token
|