Skip to content

Commit 6da58ba

Browse files
authoredMar 8, 2019
build: move to circleci and use CFA (#137)
1 parent 4206445 commit 6da58ba

File tree

7 files changed

+7311
-6207
lines changed

7 files changed

+7311
-6207
lines changed
 

‎.circleci/config.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
version: 2
2+
jobs:
3+
test:
4+
docker:
5+
- image: circleci/node:6
6+
steps:
7+
- checkout
8+
- restore_cache:
9+
keys:
10+
- v1-dependencies-{{ checksum "yarn.lock" }}
11+
- v1-dependencies-
12+
- run: yarn install --ignore-engines
13+
- save_cache:
14+
paths:
15+
- node_modules
16+
key: v1-dependencies-{{ checksum "yarn.lock" }}
17+
- run: yarn test
18+
release:
19+
docker:
20+
- image: circleci/node:10.15
21+
steps:
22+
- checkout
23+
- restore_cache:
24+
keys:
25+
- v1-dependencies-{{ checksum "yarn.lock" }}
26+
- v1-dependencies-
27+
- run: yarn install
28+
- run: yarn build
29+
- run: npx semantic-release
30+
workflows:
31+
version: 2
32+
test_and_release:
33+
# Run the test jobs first, then the release only when all the test jobs are successful
34+
jobs:
35+
- test
36+
- release:
37+
requires:
38+
- test
39+
filters:
40+
branches:
41+
only:
42+
- master

‎.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
electron.d.ts
22
node_modules
3-
yarn.lock
3+
package-lock.json
44
.npmrc
55
.env

‎.releaserc.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"plugins": [
3+
"@semantic-release/commit-analyzer",
4+
"@semantic-release/release-notes-generator",
5+
"@continous-auth/semantic-release-npm",
6+
"@semantic-release/github"
7+
]
8+
}

‎.travis.yml

-13
This file was deleted.

0 commit comments

Comments
 (0)