Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .releaserc.json

This file was deleted.

36 changes: 16 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,23 @@ after_success:
- npm run test:coveralls
- npm run build:storybook

#deploy:
# - provider: pages
# skip_cleanup: true
# github_token: $GH_TOKEN
# keep_history: true
# local_dir: storybook-static
# on:
# branch: master
# tags: true

jobs:
include:
- stage: release
node_js: stable
script: npm run build
deploy:
provider: script
skip_cleanup: true
script: npx -p @semantic-release/changelog -p @semantic-release/git -p semantic-release semantic-release
deploy:
- provider: pages
skip_cleanup: true
github_token: $GH_TOKEN
keep_history: true
local_dir: storybook-static
on:
branch: release
- provider: npm
email: baobobbob@outlook.com
api_key: $NPM_TOKEN
skip_cleanup: false
script: npm run build
on:
branch: release

notifications:
email:
on_success: never
on_failure: never
on_failure: always
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"test:coveralls": "jest --coverage --updateSnapshot && cat ./coverage/lcov.info | coveralls",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch --runInBand",
"test": "jest",
"semantic-release": "semantic-release"
"test": "jest"
},
"dependencies": {
"classnames": "^2.2.6",
Expand All @@ -46,10 +45,6 @@
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"@babel/preset-typescript": "^7.6.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/release-notes-generator": "^9.0.1",
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-docs": "^5.3.19",
"@storybook/addon-info": "^5.3.19",
Expand Down
Loading