If you have forked this repo, then connect with Razorops to create your demo pipeline by following the below button
This is an example code to demonstrate how to create NodeJS based pipeline on Razorops.
It's a simple API written in Express framework in NodeJS and includes a test suite.
-
Use
npm
to install the dependencies -npm install
-
To start the server in development mode run -
npm start
Run following commands to execute the test suite -
npm test
If you're new to Razorops, feel free to fork this repository and use it to create a project.
.razorops.yaml
contains the pipeline code to build and execute the tests for this project. To know more about how to write and customize, refer to the documentation. Here is the link of the pipeline workflows page.
- This example uses the Ubuntu based Linux-VM build envirement, which has a subset of python versions available. If you want to customize version, you can use Docker based build envioronment. For more details, please refer to "Choose NodeJS version"
- How to integrate Junit reports with Razorops.
- How to cache dependencies to speed-up the workflow.
Copyright (c) 2024 Razorops LLC
Distributed under the MIT License. See the file LICENSE.md.