Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup CircleCI config. #4

Merged
merged 3 commits into from
Jun 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 6 additions & 11 deletions .circleci/config.yaml → .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
version: 2

version: 2.1
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:10

working_directory: ~/repo
Expand All @@ -18,17 +16,14 @@ jobs:
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

# Install lerna & bootstrap the mono-repo
- run: npm install
- run: lerna bootstrap

- run: npm run build

- run: npm run test

# Save the cache for later use
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

# Link the mono repo
- run: lerna link

# Run tests!
— run: npm test
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
registry=https://artifactory.secureserver.net/artifactory/api/npm/node-virt/
@gasket:registry=https://artifactory.secureserver.net/artifactory/api/npm/npm-gasket-core-local/
tag-version-prefix=""
Loading