Skip to content

Commit

Permalink
fix: update @dxcli/semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 28, 2018
1 parent 61c54db commit 7d3b5d9
Show file tree
Hide file tree
Showing 5 changed files with 268 additions and 1,175 deletions.
33 changes: 2 additions & 31 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,20 @@
---
version: 2
jobs:
node-latest: &test
release:
docker:
- image: node:latest
working_directory: ~/cli
steps:
- checkout
- restore_cache: &restore_cache
keys:
- v0-yarn-{{ .Environment.CIRCLE_JOB }}-{{checksum "scripts/circleci"}}-{{checksum ".circleci/config.yml"}}-{{ .Branch }}-{{checksum "yarn.lock"}}
- v0-yarn-{{ .Environment.CIRCLE_JOB }}-{{checksum "scripts/circleci"}}-{{checksum ".circleci/config.yml"}}-{{ .Branch }}-
- v0-yarn-{{ .Environment.CIRCLE_JOB }}-{{checksum "scripts/circleci"}}-{{checksum ".circleci/config.yml"}}-master-
- run: ./scripts/circleci
- store_test_results:
path: ~/cli/reports
- save_cache: &save_cache
key: v0-yarn-{{ .Environment.CIRCLE_JOB }}-{{checksum "scripts/circleci"}}-{{checksum ".circleci/config.yml"}}-{{ .Branch }}-{{checksum "yarn.lock"}}
paths:
- ~/cli/node_modules
- /usr/local/share/.cache/yarn
- /usr/local/share/.config/yarn
node-8:
<<: *test
docker:
- image: node:8
release:
<<: *test
steps:
- checkout
- restore_cache: *restore_cache
- run: yarn
- run: ./node_modules/.bin/dxcli-dev-semantic-release
- save_cache: *save_cache
- run: yarn exec dxcli-semantic-release

workflows:
version: 2
test:
jobs:
- node-latest
- node-8
- release:
context: org-global
filters:
branches: {only: master}
requires:
- node-latest
- node-8
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
rules: {
'capitalized-comments': 0,
'comma-dangle': ['error', 'always-multiline'],
'default-case': 0,
'node/shebang': 0,
curly: 0,
quotes: ['error', 'single', {avoidEscape: true}],
Expand Down
28 changes: 6 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,10 @@
"eslint-plugin-unicorn": "^3.0.1"
},
"devDependencies": {
"@dxcli/dev": "^1.1.2",
"@dxcli/dev-semantic-release": "^0.0.3",
"eslint": "^4.15.0",
"eslint-config-dxcli": "^1.1.4",
"husky": "^0.14.3",
"nyc": "^11.4.1"
},
"dxcli": {
"workflows": {
"test": [
"eslint .",
"commitlint --from master"
],
"lint": [
"eslint .",
"commitlint --from master"
]
}
"@dxcli/semantic-release": "^0.2.4",
"eslint": "^4.16.0",
"eslint-config-dxcli": "^1.1.5",
"husky": "^0.14.3"
},
"engines": {
"node": ">= 8.0.0"
Expand All @@ -38,9 +24,7 @@
"main": "index.js",
"repository": "dxcli/eslint-config-dxcli",
"scripts": {
"commitmsg": "dxcli-dev-commitmsg",
"lint": "dxcli-dev lint",
"test": "dxcli-dev test",
"precommit": "dxcli-dev lint"
"commitmsg": "dxcli-commitlint",
"precommit": "eslint ."
}
}
34 changes: 0 additions & 34 deletions scripts/circleci

This file was deleted.

Loading

0 comments on commit 7d3b5d9

Please sign in to comment.