Skip to content

Commit 1499e0b

Browse files
authored
Merge pull request #126 from LLK/circleci
Circleci
2 parents cacb72c + cb9cc20 commit 1499e0b

File tree

8 files changed

+12990
-5624
lines changed

8 files changed

+12990
-5624
lines changed

.circleci/config.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: 2.1
2+
orbs:
3+
commitlint: conventional-changelog/[email protected]
4+
node: circleci/[email protected]
5+
alias:
6+
- &defaults
7+
docker:
8+
- image: cimg/node:lts
9+
executor: node/default
10+
jobs:
11+
main-job:
12+
<<: *defaults
13+
steps:
14+
- checkout
15+
- node/install-packages
16+
- run: npm test
17+
- run: npx semantic-release
18+
workflows:
19+
version: 2
20+
commitlint:
21+
jobs:
22+
- commitlint/lint:
23+
target-branch: master
24+
main-workflow:
25+
jobs:
26+
- main-job

.husky/.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text eol=lf

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit "$1"

.travis.yml

-12
This file was deleted.

commitlint.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
ignores: [message => message.startsWith('chore(release):')]
4+
};

0 commit comments

Comments
 (0)