message: chore: the ultimate fix for repo-tools EPERM
diff: @@ -4,25 +4,17 @@ workflows:
  tests:
  jobs: &workflow_jobs
  - node4:
  - filters:
  + filters: &all_commits
  tags:
  only: /.*/
  - node6:
  - filters:
  - tags:
  - only: /.*/
  + filters: *all_commits
  - node8:
  - filters:
  - tags:
  - only: /.*/
  + filters: *all_commits
  - node9:
  - filters:
  - tags:
  - only: /.*/
  + filters: *all_commits
  - node10:
  - filters:
  - tags:
  - only: /.*/
  + filters: *all_commits
  - lint:
  requires:
  - node4
  @@ -30,9 +22,7 @@ workflows:
  - node8
  - node9
  - node10
  - filters:
  - tags:
  - only: /.*/
  + filters: *all_commits
  - docs:
  requires:
  - node4
  @@ -40,27 +30,21 @@ workflows:
  - node8
  - node9
  - node10
  - filters:
  - tags:
  - only: /.*/
  + filters: *all_commits
  - system_tests:
  requires:
  - lint
  - docs
  - filters:
  + filters: &master_and_releases
  branches:
  only: master
  - tags:
  + tags: &releases
  only: '/^v[\d.]+$/'
  - sample_tests:
  requires:
  - lint
  - docs
  - filters:
  - branches:
  - only: master
  - tags:
  - only: '/^v[\d.]+$/'
  + filters: *master_and_releases
  - publish_npm:
  requires:
  - system_tests
  @@ -68,8 +52,7 @@ workflows:
  filters:
  branches:
  ignore: /.*/
  - tags:
  - only: '/^v[\d.]+$/'
  + tags: *releases
  nightly:
  triggers:
  - schedule:
  @@ -97,15 +80,12 @@ jobs:
  echo "Not a nightly build, skipping this step."
  fi
  - run: &npm_install_and_link
  - name: Install and link the module.
  - command: |
  + name: Install and link the module
  + 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
  + chmod +x node_modules/@google-cloud/nodejs-repo-tools/bin/tools
  environment:
  NPM_CONFIG_PREFIX: /home/node/.npm-global
  - run:
  