Skip to content

Commit

Permalink
Merge pull request #126 from LLK/circleci
Browse files Browse the repository at this point in the history
Circleci
  • Loading branch information
cwillisf authored Oct 13, 2022
2 parents cacb72c + cb9cc20 commit 1499e0b
Show file tree
Hide file tree
Showing 8 changed files with 12,990 additions and 5,624 deletions.
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2.1
orbs:
commitlint: conventional-changelog/[email protected]
node: circleci/[email protected]
alias:
- &defaults
docker:
- image: cimg/node:lts
executor: node/default
jobs:
main-job:
<<: *defaults
steps:
- checkout
- node/install-packages
- run: npm test
- run: npx semantic-release
workflows:
version: 2
commitlint:
jobs:
- commitlint/lint:
target-branch: master
main-workflow:
jobs:
- main-job
1 change: 1 addition & 0 deletions .husky/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

4 changes: 4 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
ignores: [message => message.startsWith('chore(release):')]
};
Loading

0 comments on commit 1499e0b

Please sign in to comment.