Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
feat(release): publish on NPM as @cypress/mocha-teamcity-reporter fro…
Browse files Browse the repository at this point in the history
…m CI
  • Loading branch information
bahmutov committed Jun 23, 2017
1 parent 916d95f commit 3f36eee
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
10 changes: 10 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
machine:
node:
version: 8

deployment:
prod:
branch: master
commands:
# not every commit is going to be published
- npm run semantic-release || true
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "@cypress/mocha-teamcity-reporter",
"version": "0.0.2",
"version": "0.0.0-development",
"description": "TeamCity reporter for mocha compatible with Cypress.io",
"main": "index.js",
"directories": "./lib",
"scripts": {
"test": "echo 'nothing to test'",
"commit": "commit-wizard"
"commit": "commit-wizard",
"semantic-release": "semantic-release pre && npm publish --access public && semantic-release post"
},
"files": [
"lib",
Expand Down Expand Up @@ -47,6 +48,7 @@
"devDependencies": {
"condition-circle": "^1.5.0",
"pre-git": "^3.15.0",
"simple-commit-message": "^3.0.2"
"simple-commit-message": "^3.0.2",
"semantic-release": "^6.3.6"
}
}

0 comments on commit 3f36eee

Please sign in to comment.