Skip to content

Commit 762d8ca

Browse files
committed
chore: move to circleci
1 parent ac39f7c commit 762d8ca

File tree

3 files changed

+20
-1642
lines changed

3 files changed

+20
-1642
lines changed

.circleci/config.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,7 @@ jobs:
66
- image: circleci/node:latest
77
steps:
88
- checkout
9-
- run:
10-
name: update-npm
11-
command: 'sudo npm install -g yarn@latest'
12-
- restore_cache:
13-
key: dependency-cache-{{ checksum "package.json" }}
14-
- run:
15-
name: install-yarn
16-
command: yarn install
17-
- save_cache:
18-
key: dependency-cache-{{ checksum "package.json" }}
19-
paths:
20-
- ./node_modules
21-
- run:
22-
name: release
23-
command: yarn semantic-release || true
9+
- run: sudo npm install -g yarn semantic-release
10+
- run: yarn install
11+
- run: yarn test
12+
- run: semantic-release

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"prepublish": "npm run build",
99
"build": "tsc -d",
1010
"pretest": "npm run build",
11-
"lint": "tslint src/**/*.ts",
12-
"semantic-release": "semantic-release"
11+
"lint": "tslint src/**/*.ts"
1312
},
1413
"repository": {
1514
"type": "git",
@@ -32,7 +31,6 @@
3231
"@types/yargs": "11.0.0",
3332
"graphql": "0.13.1",
3433
"graphql-config": "2.0.1",
35-
"semantic-release": "12.4.1",
3634
"tslint": "5.9.1",
3735
"typescript": "2.7.2"
3836
},

0 commit comments

Comments
 (0)