Skip to content

Commit

Permalink
feat: flowMode 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSeob committed Oct 8, 2020
1 parent 1da3c65 commit 088f54f
Show file tree
Hide file tree
Showing 4 changed files with 3,818 additions and 40 deletions.
40 changes: 40 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"branches": [
{
"name": "master"
},
{
"name": "beta",
"channel": "beta",
"prerelease": "beta"
},
{
"name": "alpha",
"channel": "alpha",
"prerelease": "alpha"
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
[
"@semantic-release/github",
{
"successComment": false
}
],
[
"@semantic-release/git",
{
"assets": ["package.json", "CHANGELOG.md"]
}
]
]
}
37 changes: 37 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
language: node_js
node_js:
- '12'
before_install:
- echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
install:
- yarn
jobs:
include:
- stage: 'Test'
name: 'Test'
script:
- yarn test
if: type = push AND branch != master
- stage: 'Deploy'
name: 'Deploy'
script:
- yarn build
- yarn deploy
- 'yarn lerna version --conventional-commits --yes --git-remote pub'
- 'yarn lerna publish from-git --dist-tag latest --yes'
if: type = push AND branch = master
- stage: 'Deploy Prerelease'
name: 'Deploy (Prerelease)'
script:
- git switch ${TRAVIS_BRANCH}
- yarn build
- yarn semantic-release
if: |
type = push AND \
branch IN (master, beta, alpha)
git:
depth: false
cache:
npm: false
directories:
- .yarn
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"@rollup/plugin-typescript": "^3.0.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@types/jest": "^25.2.1",
"jest": "^25.3.0",
"prettier": "^2.0.2",
"rollup": "^2.3.0",
"rollup-plugin-babel": "^4.4.0",
"semantic-release": "^17.1.2",
"ts-jest": "^25.3.1",
"tslib": "^1.11.1",
"typescript": "^3.8.3"
Expand All @@ -30,6 +34,6 @@
"types"
],
"dependencies": {
"@tosspayments/sdk-types": "^1.0.3"
"@tosspayments/sdk-types": "^1.1.0"
}
}
Loading

0 comments on commit 088f54f

Please sign in to comment.