-
Notifications
You must be signed in to change notification settings - Fork 11
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 #29 from Fliplet/chore/tag-npm-publish
Chore/tag npm publish
- Loading branch information
Showing
5 changed files
with
18 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
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,11 +1,18 @@ | ||
dependencies: | ||
pre: | ||
- npm link | ||
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc | ||
|
||
test: | ||
override: | ||
- fliplet env staging | ||
- fliplet login -u $TEST_USER -p $TEST_PASSWORD | ||
- fliplet organization $TEST_ORGANIZATION | ||
- fliplet create-widget awesome-widget | ||
- cd awesome-widget && fliplet test | ||
- cd awesome-widget && fliplet test | ||
|
||
deployment: | ||
npm: | ||
tag: /v[0-9]+(\.[0-9]+)*/ | ||
commands: | ||
- npm publish |
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 |
---|---|---|
|
@@ -42,5 +42,6 @@ function login(email, password) { | |
}) | ||
.catch(function (error) { | ||
console.log(error); | ||
process.exit(1); | ||
}); | ||
} |
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
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