diff --git a/.husky/pre-commit b/.husky/pre-commit index 91ac936b..58f7569e 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,6 +2,7 @@ . "$(dirname -- "$0")/_/husky.sh" node ./scripts/flows.js +npm run generate:tests git add ./integrations/*/tests/*.test.ts git add ./flows.yaml npx lint-staged --allow-empty diff --git a/scripts/generate-integration-template-tests.bash b/scripts/generate-integration-template-tests.bash index 8db14d39..a364f2ab 100755 --- a/scripts/generate-integration-template-tests.bash +++ b/scripts/generate-integration-template-tests.bash @@ -17,6 +17,8 @@ else cd .. fi +export NANGO_CLI_UPGRADE_MODE=ignore + # Process each integration for integration in "${integrations[@]}" ; do if [ ! -d "./integrations/$integration/mocks" ]; then