diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..48f6b95 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,8 @@ +--- +steps: + tests: + image: node:lts + pull: true + commands: + - npm install + - npm run test diff --git a/README.md b/README.md index 60d5bf5..6e0166e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # Metric-Imperial Converter +[![status-badge](https://ci.radii.page/api/badges/126/status.svg)](https://ci.radii.page/repos/126) + This is the boilerplate for the Metric-Imperial Converter project. Instructions for building your project can be found at https://www.freecodecamp.org/learn/quality-assurance/quality-assurance-projects/metric-imperial-converter diff --git a/package.json b/package.json index 9e759e6..3de0382 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "server.js", "scripts": { "start": "node server.js", - "test": "mocha ./tests/ --ui tdd" + "test": "mocha ./tests/ --ui tdd --exit --color" }, "dependencies": { "body-parser": "^1.19.0",