Skip to content

Commit

Permalink
Added npm config for jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorAtterlonn committed Sep 30, 2019
1 parent 617d28c commit 2d20191
Show file tree
Hide file tree
Showing 6 changed files with 2,450 additions and 21 deletions.
13 changes: 2 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
language: node_js
node_js:
- '6.1'
deploy:
provider: npm
email: [email protected]
api_key:
secure: L5iWon8hp1II1urGFJQ0jOlrNMrIS5k4l93xCzYWYs18jhDjoFU/IEcU2h6GPiiKO425teVL7NETy6E1mtO8SPtjZAoL7apEyfkkaKRpWBYzgHoafh/OlbvOZEnxcAs9YMkX0FGwvMKxxEf4gvyP+DIDhguE6BY9J7tZHQudMyaImhj41JVpTXdPfH2wtFE6uUkfVQp2vFqR8i/7Ig+keHk5dd+Ugmdz8qhYpLOr1ifsEeNZs6jhtWvzm9KYsSKDzHw0qfaARkdMir682Nh0mx4vW1UtmvA4zxTpvxq/qzT6THRt+326LEXP10E0s0lMnXvh/wRX8B0YKMAuuV+kPpIybNgwEM6A0N/qh2jo7XTOJqolBGpGE2HwUnfUMo1Xm8DbPL2bMYGKEe1LiCKJiEMcM4JYiyA3Q50OlwxypVRPldiG9fdt4ujFPBxOvnR3bFi1Q7Q8Ifby4vxrjoAiuVSWEqwE547mri8FNMcgwsRj5c38fBj23CE0SMRHK3H1IeFrQOX/JODH4W86o3vD3JWNuYPnnC+pVe/ifPBVLUKTv4+UGFJ5QYg2i0GBXwJhWNh+oLUH3AnW5jBlCj57RrHGlKkk4wp+nu67VqSj4nyTMxSdvKkNRrRo+qu/TJlj/0y7udyqwer3uHqqkeS9wid/i6tphy/Gl3zMcNzP01Y=
on:
tags: true
repo: KTH/kth-node-api-key-strategy
notifications:
slack:
secure: vAO1rS8/60HLapKNoKOIViCOvSULKwxQruEZ8Uob16R+r3eopEUCSbEIRkWjeYmVhryhWqKfyEyUhSBXU2HuRmVEPF0skGaiHK0t+kZwdBgGfeGa2fMJqoY3m2lZ4y0PUVZFJQJ9Dg/3KMTvzUrCrF0goug1klMVViCcF5CKEK5skj5eittWUn+FpLfdx7l90wgSemioeohCL24EbogxLE/H7YubC7A6o3yJyIFd9CmJuJeLHVCAclN52hHo+53kuzb2gDsgI7bULYFDFdMk5wAwXp4v+7oKh06IiBu/wcTKOHArDuZYJbjG2GXf1IulHxX9Kz0nC20rLshsPw6sHzsoW5YQaXy5yTqrEfT/h8QKjETw841bgLmkORN10FzMSYwRKUpmPuoT763zQcupFyvXoQRVgBRj2KD3v5Xzv5oP+tTIDJu1k7/wXfUqM7d4QoGO72x9QRSjce1pZaCy9aR4udDLsnMYTeKr6zhkBmI5GJP2xTOzgKkCHQJu2sZhlNZP8qQBDG4ggJZe03VMKf/nx567OYpqtEN/6PdiQsrsxGI57M5VwRR2a7lurqfB6nJ8BnPkzNYDCNcLGKfEH3w9vhInCO5tulror4Do4JKdPt3SPC8IopBHz+gsk8u20pjWeUn5PyDXCWeo8rnIdkS0J/ulaz6fTAjOd0kqE3I=
- '8.0'
- '10.0'
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# kth-node-api-key-strategy
[![Build Status](https://travis-ci.org/KTH/kth-node-api-key-strategy.svg?branch=master)](https://travis-ci.org/KTH/kth-node-api-key-strategy)
# kth-node-api-key-strategy [![Build Status](https://travis-ci.org/KTH/kth-node-api-key-strategy.svg?branch=master)](https://travis-ci.org/KTH/kth-node-api-key-strategy)
A api key strategy for Node applications.

## Configure
Expand Down
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
npm install

npm test

rm -rf node_modules
7 changes: 7 additions & 0 deletions npm.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# What version of node should be used?
# This is installed via nvm (https://github.com/creationix/nvm) on jenkins if missing
NODE_VERSION=10.14.2

# Do we allow npm audit to find criticals and let the build finish?
# Comment this out otherwise
ALLOW_CRITICALS=0
Loading

0 comments on commit 2d20191

Please sign in to comment.