diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..9ba2e4c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,10 @@ +kind: pipeline +type: docker +name: compliance + +steps: +- name: deps + image: node + commands: + - yarn install + - yarn lint \ No newline at end of file diff --git a/package.json b/package.json index 987a386..e98baa9 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,8 @@ "nodemon": "^2.0.20" }, "scripts": { - "start": "node index.js" + "start": "node index.js", + "lint": "eslint src/" }, "engines": { "node": ">=18.0.0"