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

Commit

Permalink
Fix CircleCI build (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
draffensperger committed Jan 18, 2019
1 parent e5acc63 commit b2d298e
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit b2d298e

Please sign in to comment.