From 7c03a12396b17ba6eb1ffe4a3d75d19abc8b6a21 Mon Sep 17 00:00:00 2001 From: Floris Bernard Date: Fri, 12 Jan 2018 11:10:58 +0100 Subject: [PATCH 1/3] Add travis configuration for NPM deploy --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3a03b81 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: node_js + +before_install: + - if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi + +node_js: + - '6' + +before_deploy: + - run npm run clean && npm run build + +deploy: + - provider: npm + email: 'devmonk@mediamonks.com' + api_key: + secure: '<<< TOKEN HERE >>>' + on: + tags: true + node: '6' + skip_cleanup: true From 00560b6333af752de6f0f39a16046ea5e4c0f0f3 Mon Sep 17 00:00:00 2001 From: Floris Bernard Date: Fri, 12 Jan 2018 11:12:41 +0100 Subject: [PATCH 2/3] Fix typo in travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3a03b81..e7cc95f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ node_js: - '6' before_deploy: - - run npm run clean && npm run build + - npm run clean && npm run build deploy: - provider: npm From 4806e3446a849a84f2fa87d500f8d4e25c98caf3 Mon Sep 17 00:00:00 2001 From: Floris Bernard Date: Fri, 12 Jan 2018 11:25:19 +0100 Subject: [PATCH 3/3] Add secure Travis api key --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e7cc95f..abb3f36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ deploy: - provider: npm email: 'devmonk@mediamonks.com' api_key: - secure: '<<< TOKEN HERE >>>' + secure: 'fLVllebmiGuUjxJoqbYus3AHK2yaf+fDePXLqYiVs5Ozjqe82KV2Zepg1BaWZMDZR45X7vz0b3jLWB40WbxY8v/XcKwgH7Hp7JQI54+hLeezIwqEqo3vbaG6TyONbqTiU392UojoUwZOW1xowO4JI/NIo4X3ism2SHbpdjuBr9I0ruhVLT3lbP/+xcxUAg1hr6y3Qa1QTIUZSjm05bgdUbWOnOkUHSD9kUvG8QZErCHplXxGMrt+Cw7nxlJUAkrwccqlxniJ4kbeKEfHW4+oz6Qs0j4GCqcpf83omG7VijcsWcHYAmhUYg7/axufGjuLkS8RnmRs+zUOx4fBqYOwMbmDKR21duRFrYikuMTZweIjwGe4q8G+P0LZaKtOyqd8RQvdIqulcJqsKklXq2TQ9h+o/LpbgE/kBu/V9GR4IbVZa8ZdrYos8aUI+Rk1dxQQH/nbaOrz6BY3aUDSpvxXNtdDKtoPTw6mcXtB7DuA7HIF2fepPoZSHFtrFPrJ2W7cot7cTzve+HjPkgPyuBtkKnqQCZQA25Ba4JtfoE44nL4k9v3wUYGT2/sY/YVzWfLf4iA55fQ0fxRGS8qCR9r1T6rV5a+Pj2yfkIgTEgk9xaHcWhSBumpps9jYu9/77XIkPkFpv2FyL0AKUMozbnN8KFn22wqVSuhtZ7XdR418IiY=' on: tags: true node: '6'