We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e86acef commit 3eee340Copy full SHA for 3eee340
.husky/pre-push
@@ -18,6 +18,16 @@ fi
18
19
$pnpm_cmd run check-types
20
21
+# Load .env.local if it exists
22
+if [ -f ".env.local" ]; then
23
+ export $(grep -v '^#' .env.local | xargs)
24
+fi
25
+
26
+# Run tests if RUN_TESTS_ON_PUSH is set to true
27
+if [ "$RUN_TESTS_ON_PUSH" = "true" ]; then
28
+ $pnpm_cmd run test
29
30
31
# Check for new changesets.
32
NEW_CHANGESETS=$(find .changeset -name "*.md" ! -name "README.md" | wc -l | tr -d ' ')
33
echo "Changeset files: $NEW_CHANGESETS"
0 commit comments