Skip to content

Commit

Permalink
Merge pull request #14 from Financial-Times/whitesource
Browse files Browse the repository at this point in the history
use origami-service-makefile and whitesource
  • Loading branch information
JakeChampion authored Nov 15, 2017
2 parents 491de37 + 6aa84a6 commit 7c9cf1a
Show file tree
Hide file tree
Showing 11 changed files with 2,306 additions and 3 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Origami Service Makefile
# ------------------------
# This section of the Makefile should not be modified, it includes
# commands from the Origami service Makefile.
# https://github.com/Financial-Times/origami-service-makefile
include node_modules/@financial-times/origami-service-makefile/index.mk
# [edit below this line]
# ------------------------

npm-publish:
npx -p npm-prepublish@^1 npm-prepublish --verbose
npm publish --access public
17 changes: 14 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@

machine:
node:
version: '4'
version: 4

dependencies:
pre:
- echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > ${HOME}/.npmrc
- npm i -g npm@^5

test:
override:
- npm run lint
- npm run test-coverage
- make ci

deployment:
release:
tag: /v.*/
owner: Financial-Times
commands:
- make npm-publish
Loading

0 comments on commit 7c9cf1a

Please sign in to comment.