From 8b3f3f313274144b4187fef5a919926560f5fc0f Mon Sep 17 00:00:00 2001 From: Hugo Capocci Date: Sun, 28 May 2017 21:08:33 +0200 Subject: [PATCH] Add CI config to publish on merge --- circle.yml | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 circle.yml diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..e8bdbf9 --- /dev/null +++ b/circle.yml @@ -0,0 +1,6 @@ +deployment: + npm: + branch: master + commands: + - echo -e "$NPM_USERNAME\n$NPM_PASSWORD\n$NPM_EMAIL" | npm login + - npm publish diff --git a/package.json b/package.json index 19e8094..be28f83 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "preferGlobal": true, "scripts": { "prepublish": "coffee -o lib -c src/index.coffee", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"no test specified\" && exit 0" }, "repository": { "type": "git",