1. Home
  2. /
  3. Drone-ci
  4. /
  5. Simple Drone CI Pipeline

Simple Drone CI Pipeline - Drone-ci Typing CST Test

Loading…

Simple Drone CI Pipeline — Drone-ci Code

A simple Drone CI pipeline to build and test a Node.js project.

# .drone.yml
kind: pipeline
name: default

steps:
	- name: install
		image: node:16
		commands:
		- npm install
	- name: build
		image: node:16
		commands:
		- npm run build
	- name: test
		image: node:16
		commands:
		- npm test

Drone-ci Language Guide

Drone CI is a modern, container-native continuous integration and delivery platform that defines pipelines as code in a `.drone.yml` file. It runs each pipeline step inside isolated Docker containers, providing fast, reproducible, and scalable builds.

Primary Use Cases

  • ▸Automate build, test, and deployment workflows
  • ▸Implement pipelines as code with versioning
  • ▸Run pipelines in isolated, containerized steps
  • ▸Deploy containerized applications to cloud or Kubernetes
  • ▸Enable event-driven CI/CD with SCM webhooks

Notable Features

  • ▸Pipeline as code via `.drone.yml`
  • ▸Containerized build steps for reproducibility
  • ▸Parallel and sequential execution support
  • ▸Event-based triggers (push, pull request, tag, cron)
  • ▸Extensible via plugins for notifications, cloud, and deployment

Origin & Creator

Developed by Brad Rydzewski and the Drone.io team to provide a lightweight, container-first CI/CD solution.

Industrial Note

Drone CI is ideal for DevOps teams leveraging Docker and Kubernetes, enabling efficient, reproducible pipelines in microservices and cloud-native environments.

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher