Skip to content

Commit 4fa73bd

Browse files
alexander-fenstercallmehiphop
authored andcommitted
chore: one more workaround for repo-tools EPERM (#37)
1 parent 5279684 commit 4fa73bd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

packages/google-privacy-dlp/.circleci/config.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ jobs:
189189
command: |
190190
mkdir -p /home/node/.npm-global
191191
npm install
192+
repo_tools="node_modules/@google-cloud/nodejs-repo-tools/bin/tools"
193+
if ! test -x "$repo_tools"; then
194+
chmod +x "$repo_tools"
195+
fi
192196
npm link
193197
environment:
194198
NPM_CONFIG_PREFIX: /home/node/.npm-global
@@ -228,7 +232,12 @@ jobs:
228232
-k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
229233
- run:
230234
name: Install modules and dependencies.
231-
command: npm install
235+
command: |-
236+
npm install
237+
repo_tools="node_modules/@google-cloud/nodejs-repo-tools/bin/tools"
238+
if ! test -x "$repo_tools"; then
239+
chmod +x "$repo_tools"
240+
fi
232241
- run:
233242
name: Run system tests.
234243
command: npm run system-test

0 commit comments

Comments
 (0)