Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe05fb9

Browse files
alexander-fenstercallmehiphop
authored andcommitted
chore: one more workaround for repo-tools EPERM (googleapis#80)
1 parent 1e93eda commit fe05fb9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.circleci/config.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ jobs:
174174
name: Install and link the module.
175175
command: |
176176
npm install
177+
repo_tools="node_modules/@google-cloud/nodejs-repo-tools/bin/tools"
178+
if ! test -x "$repo_tools"; then
179+
chmod +x "$repo_tools"
180+
fi
177181
npm link
178182
- run:
179183
name: Link the module being tested to the samples.
@@ -207,7 +211,12 @@ jobs:
207211
-k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
208212
- run:
209213
name: Install modules and dependencies.
210-
command: npm install
214+
command: |-
215+
npm install
216+
repo_tools="node_modules/@google-cloud/nodejs-repo-tools/bin/tools"
217+
if ! test -x "$repo_tools"; then
218+
chmod +x "$repo_tools"
219+
fi
211220
- run:
212221
name: Run system tests.
213222
command: npm run system-test

0 commit comments

Comments
 (0)