Skip to content

Commit ba28bee

Browse files
ci: semantic release updates
1 parent ce3cb99 commit ba28bee

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

circle.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- run:
2121
name: Lint
2222
command: npm run lint
23+
- run:
24+
name: Dist
25+
command: npm run dist
2326
- persist_to_workspace:
2427
root: .
2528
paths:
@@ -28,13 +31,13 @@ jobs:
2831
root: .
2932
paths:
3033
- node_modules
31-
semver:
32-
<<: *defaults
33-
steps:
34-
- checkout
35-
- run:
36-
name: Semantic Release
37-
command: node_modules/.bin/semantic-release
34+
semver:
35+
<<: *defaults
36+
steps:
37+
- checkout
38+
- run:
39+
name: Semantic Release
40+
command: node_modules/.bin/semantic-release
3841

3942
workflows:
4043
version: 2

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
"scripts": {
1717
"test": "echo \"Error: no test specified\" && exit 1",
1818
"lint": "tslint -p tsconfig.json",
19-
"prepublish": "tsc"
19+
"dist": "tsc"
20+
},
21+
"release": {
22+
"pkgRoot": "dist"
2023
},
2124
"dependencies": {
2225
"rxjs": "^6.3.3",

0 commit comments

Comments
 (0)