Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Fix CircleCI build #5

Merged
merged 1 commit into from
Jan 18, 2019
Merged
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
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ jobs:
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: npm install

# Remove the mocha type references in @opencensus/core. This has been
# fixed in the upstream package on GitHub, but has not been released on
# NPM yet. We can't install the package directly from GitHub because NPM
# only supports that for packages in the root folder of the repo.
# See https://github.com/census-instrumentation/opencensus-node/pull/254
- run: (cd packages/opencensus-web-exporter-ocagent && npm install || true)
- run: find . -type f | grep '@opencensus/core' | xargs sed -i '/types="mocha"/d'

- run: npm install

- save_cache:
paths:
- node_modules
Expand Down