Skip to content

Commit

Permalink
chore: workaround for repo-tools EPERM (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster authored and stephenplusplus committed Mar 28, 2018
1 parent 9e50425 commit 0e3f48c
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions packages/google-cloud-videointelligence/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ jobs:
fi
- run:
name: Install modules and dependencies.
command: npm install
command: |-
npm install
repo_tools="node_modules/@google-cloud/nodejs-repo-tools/bin/tools"
if ! test -x "$repo_tools"; then
chmod +x "$repo_tools"
fi
- run:
name: Run unit tests.
command: npm test
Expand Down Expand Up @@ -111,6 +116,10 @@ jobs:
name: Install modules and dependencies.
command: |
npm install
repo_tools="node_modules/@google-cloud/nodejs-repo-tools/bin/tools"
if ! test -x "$repo_tools"; then
chmod +x "$repo_tools"
fi
npm link
- run:
name: Link the module being tested to the samples.
Expand All @@ -130,7 +139,12 @@ jobs:
- run: *remove_package_lock
- run:
name: Install modules and dependencies.
command: npm install
command: |-
npm install
repo_tools="node_modules/@google-cloud/nodejs-repo-tools/bin/tools"
if ! test -x "$repo_tools"; then
chmod +x "$repo_tools"
fi
- run:
name: Build documentation.
command: npm run docs
Expand Down

0 comments on commit 0e3f48c

Please sign in to comment.