Skip to content

Commit 5c8b6e9

Browse files
committed
ci: configuring new build infra
1 parent 7e126c0 commit 5c8b6e9

File tree

4 files changed

+57
-42
lines changed

4 files changed

+57
-42
lines changed

.circleci/config.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
version: 2
2+
jobs:
3+
test:
4+
machine: true
5+
steps:
6+
- checkout
7+
- run:
8+
name: Run ETCD v3
9+
command: npm run docker
10+
- run:
11+
name: Set NodeJS to v8.9.0
12+
command: |
13+
set +e
14+
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash
15+
export NVM_DIR="/opt/circleci/.nvm"
16+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
17+
nvm install v8.9.0
18+
nvm alias default v8.9.0
19+
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
20+
echo "[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\"" >> $BASH_ENV
21+
node -v
22+
- run: npm install
23+
- run: npm run lint
24+
- run: npm run test:prod
25+
- run: npm run build
26+
deploy:
27+
docker:
28+
- image: circleci/node:8.9.0
29+
steps:
30+
- checkout
31+
- run: npm install
32+
- run: npm run build
33+
- run: npm run deploy-docs
34+
- run: npm run semantic-release
35+
36+
workflows:
37+
version: 2
38+
pullrequest:
39+
jobs:
40+
- test
41+
publish:
42+
jobs:
43+
- test
44+
- deploy:
45+
requires:
46+
- test
47+
filters:
48+
branches:
49+
only: master

.travis.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# express-session-etcd3
22

3-
[![Build Status](https://travis-ci.org/willgm/express-session-etcd3.svg?branch=master)](https://travis-ci.org/willgm/express-session-etcd3)
4-
[![Coverage Status](https://coveralls.io/repos/github/willgm/express-session-etcd3/badge.svg?branch=master)](https://coveralls.io/github/willgm/express-session-etcd3?branch=master)
3+
[![Build Status](https://travis-ci.org/jexia-com/express-session-etcd3.svg?branch=master)](https://travis-ci.org/jexia-com/express-session-etcd3)
54

65
An ETCD v3 store adapter for [express-session](https://github.com/expressjs/session) using [etcd3](https://github.com/mixer/etcd3) client.
76

@@ -28,22 +27,22 @@ app.use(session({
2827

2928
### Options
3029

31-
You can find all the [available options](https://willgm.github.io/express-session-etcd3/interfaces/etcd3storeoptions.html) at the documentation.
30+
You can find all the [available options](https://jexia-com.github.io/express-session-etcd3/interfaces/etcd3storeoptions.html) at the documentation.
3231

3332
## Documentation
3433

35-
Our [TypeDoc docs are available here](https://willgm.github.io/express-session-etcd3/).
34+
Our [TypeDoc docs are available here](https://jexia-com.github.io/express-session-etcd3/).
3635

37-
Our [test cases](https://github.com/willgm/express-session-etcd3/tree/master/test) are also quite readable.
36+
Our [test cases](https://github.com/jexia-com/express-session-etcd3/tree/master/test) are also quite readable.
3837

3938
## Contributing
4039

41-
You can find all the steps at the [Contributing Guide](https://github.com/willgm/express-session-etcd3/blob/master/CONTRIBUTING.md).
40+
You can find all the steps at the [Contributing Guide](https://github.com/jexia-com/express-session-etcd3/blob/master/CONTRIBUTING.md).
4241

4342
## Credits
4443

4544
This project was easily bootstrapped with [TypeScript library starter](https://github.com/alexjoverm/typescript-library-starter), thanks for sharing it!
4645

4746
## License
4847

49-
[MIT](https://github.com/willgm/express-session-etcd3/blob/master/LICENSE)
48+
[MIT](https://github.com/jexia-com/express-session-etcd3/blob/master/LICENSE)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
],
2626
"repository": {
2727
"type": "git",
28-
"url": "git+https://github.com/jexia/express-session-etcd3.git"
28+
"url": "https://github.com/jexia-com/express-session-etcd3.git"
2929
},
3030
"license": "MIT",
3131
"engines": {
@@ -115,7 +115,7 @@
115115
"rollup-plugin-node-resolve": "^3.0.3",
116116
"rollup-plugin-sourcemaps": "^0.4.2",
117117
"rollup-plugin-typescript2": "^0.11.1",
118-
"semantic-release": "^15.0.1",
118+
"semantic-release": "^15.1.4",
119119
"travis-deploy-once": "^4.3.4",
120120
"ts-jest": "^22.0.0",
121121
"ts-node": "^4.1.0",

0 commit comments

Comments
 (0)