-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from Financial-Times/whitesource
use origami-service-makefile and whitesource
- Loading branch information
Showing
11 changed files
with
2,306 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.