Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.55 KB

File metadata and controls

39 lines (24 loc) · 1.55 KB

Buildkite Node.js Docker Example

Build status Add to Buildkite

This repository is an example Buildkite pipeline that tests a Node.js project using Docker and the standard Node.js Docker image.

👉 See this example in action: buildkite/nodejs-docker-example

See the full Getting Started Guide for step-by-step instructions on how to get this running, or try it yourself:

Add to Buildkite

Screenshot of Buildkite Node.js Docker example pipeline

How it works

This example:

  • Uses Docker Compose to run npm test inside a container
  • Uses the official node Docker image
  • Tests a simple Node.js app in a containerized Buildkite pipeline

Running locally

To run the test outside of Buildkite:

docker-compose run app npm test

License

See LICENSE.md (MIT)