chore: fix git allow-protocol for all jest (#18655)

This commit is contained in:
Rhys Arkins 2022-11-01 12:01:33 +01:00 committed by GitHub
parent 0936ac67f6
commit 485c8161f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -71,8 +71,6 @@ jobs:
git config --global core.symlinks true git config --global core.symlinks true
git config --global user.email 'renovate@whitesourcesoftware.com' git config --global user.email 'renovate@whitesourcesoftware.com'
git config --global user.name 'Renovate Bot' git config --global user.name 'Renovate Bot'
# https://github.blog/2022-10-18-git-security-vulnerabilities-announced/
git config --global protocol.file.allow always
npm config set scripts-prepend-node-path true npm config set scripts-prepend-node-path true
git --version git --version
echo "Node $(node --version)" echo "Node $(node --version)"

View file

@ -22,7 +22,7 @@
"generate": "run-s generate:*", "generate": "run-s generate:*",
"generate:imports": "node tools/generate-imports.mjs", "generate:imports": "node tools/generate-imports.mjs",
"git-check": "node tools/check-git-version.mjs", "git-check": "node tools/check-git-version.mjs",
"jest": "cross-env LOG_LEVEL=fatal jest --logHeapUsage", "jest": "cross-env LOG_LEVEL=fatal GIT_ALLOW_PROTOCOL=file jest --logHeapUsage",
"jest:14": "run-s \"jest {@}\" --", "jest:14": "run-s \"jest {@}\" --",
"jest:16": "run-s \"jest {@}\" --", "jest:16": "run-s \"jest {@}\" --",
"jest-debug": "cross-env NODE_OPTIONS=--inspect-brk yarn jest --testTimeout=100000000", "jest-debug": "cross-env NODE_OPTIONS=--inspect-brk yarn jest --testTimeout=100000000",