Skip to content

Commit 4fc8529

Browse files
committed
ci: add ci configuration
1 parent 062541b commit 4fc8529

2 files changed

Lines changed: 21 additions & 3 deletions

File tree

.circleci/config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: 'circleci/node:latest'
6+
steps:
7+
- checkout
8+
- run:
9+
name: install
10+
command: npm install
11+
- run:
12+
name: test
13+
command: npm run test
14+
- run:
15+
name: release
16+
command: npm run semantic-release || true

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-codegen-cli",
3-
"version": "1.1.0",
3+
"version": "0.0.0-development",
44
"description": "Software Development Kit for React",
55
"main": "lib/index.js",
66
"bin": {
@@ -17,7 +17,9 @@
1717
"build": "babel src --out-dir lib --copy-files --extensions \".ts\"",
1818
"watch": "yarn build --watch --source-maps inline",
1919
"lint": "eslint src --ext .ts",
20-
"start": "node ./lib/bin.js"
20+
"start": "node ./lib/bin.js",
21+
"release": "semantic-release",
22+
"semantic-release": "semantic-release"
2123
},
2224
"nyc": {
2325
"extension": [
@@ -95,7 +97,7 @@
9597
"mocha": "^8.2.1",
9698
"nyc": "^15.1.0",
9799
"proxyquire": "^2.1.3",
98-
"semantic-release": "^17.3.2",
100+
"semantic-release": "^17.3.4",
99101
"ts-mocha": "^8.0.0",
100102
"typescript": "^3.9.7"
101103
},

0 commit comments

Comments
 (0)