Skip to content

Commit f024063

Browse files
fix: ci improvements (#12)
1 parent a6f138e commit f024063

File tree

3 files changed

+69
-17
lines changed

3 files changed

+69
-17
lines changed

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
command: npm run build
4747
- run:
4848
name: Semantic Release
49-
command: cd dist && npm run release
49+
command: node_modules/.bin/semantic-release
5050

5151
workflows:
5252
version: 2

package-lock.json

Lines changed: 59 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,22 @@
2424
"scripts": {
2525
"test": "jest",
2626
"build": "tsc",
27-
"release": "semantic-release",
2827
"lint": "tslint --project tsconfig.json --config tslint.json"
2928
},
29+
"release": {
30+
"pkgRoot": "dist",
31+
"assets": [
32+
"package.json",
33+
"LICENSE",
34+
"README.md"
35+
]
36+
},
3037
"devDependencies": {
3138
"@types/jest": "^23.3.1",
3239
"codecov": "^3.0.4",
3340
"jest": "23.4.2",
3441
"jest-junit": "^5.1.0",
35-
"semantic-release": "^15.9.6",
42+
"semantic-release": "^15.9.8",
3643
"ts-jest": "23.1.3",
3744
"tslint": "^5.11.0",
3845
"tslint-immutable": "^4.6.0",

0 commit comments

Comments
 (0)