Skip to content

Commit

Permalink
Merge branch 'master' into feat/5565-multiple-parents-for-hubs
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSwitch committed Jun 27, 2019
2 parents 6579118 + 5977206 commit ef7fec2
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 3,432 deletions.
45 changes: 42 additions & 3 deletions .circleci/config.yml
@@ -1,10 +1,24 @@
version: 2

defaults: &defaults
working_directory: ~/repo
docker:
- image: circleci/node:8.4.0

jobs:
build:
docker:
- image: circleci/node:8.4.0
checkout_code:
<<: *defaults
steps:
- checkout
- persist_to_workspace:
root: ~/repo
paths:
- .
test:
<<: *defaults
steps:
- attach_workspace:
at: ~/repo
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
Expand All @@ -17,3 +31,28 @@ jobs:
- run:
name: npm tests
command: npm test
- persist_to_workspace:
root: ~/repo
paths:
- node_modules

release:
<<: *defaults
steps:
- attach_workspace:
at: ~/repo
- checkout
- run: npm run semantic-release

workflows:
version: 2
build:
jobs:
- checkout_code
- test:
requires:
- checkout_code
- release:
context: org-global
requires:
- test
1 change: 1 addition & 0 deletions .npmrc
@@ -0,0 +1 @@
package-lock=false

0 comments on commit ef7fec2

Please sign in to comment.