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

chore: workaround for repo-tools EPERM #7

Merged
merged 1 commit into from
Mar 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 16 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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 @@ -109,6 +114,10 @@ jobs:
command: |
mkdir -p /home/node/.npm-global
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
environment:
NPM_CONFIG_PREFIX: /home/node/.npm-global
Expand All @@ -126,7 +135,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