diff --git a/packages/google-cloud-bigquery-datatransfer/.circleci/config.yml b/packages/google-cloud-bigquery-datatransfer/.circleci/config.yml index 6462cc33f1e..b9f4a48bfc9 100644 --- a/packages/google-cloud-bigquery-datatransfer/.circleci/config.yml +++ b/packages/google-cloud-bigquery-datatransfer/.circleci/config.yml @@ -82,7 +82,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 @@ -117,6 +122,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 @@ -143,7 +152,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