We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01edb91 commit f99a16fCopy full SHA for f99a16f
1 file changed
scripts/test-before-close.sh
@@ -0,0 +1,32 @@
1
+#!/bin/bash
2
+# Comprehensive test script before closing issues
3
+
4
+echo "🚀 Running comprehensive tests before closing issue..."
5
6
+echo "📝 1. Running TypeScript type checking..."
7
+npm run build.types || {
8
+ echo "❌ TypeScript errors found!"
9
+ exit 1
10
+}
11
12
+echo "🔍 2. Running Biome checks..."
13
+biome check . || {
14
+ echo "❌ Biome linting/formatting issues found!"
15
+ echo "💡 Run 'biome check --write .' to fix auto-fixable issues"
16
17
18
19
+echo "🧪 3. Running tests..."
20
+npm run test || {
21
+ echo "❌ Tests failed!"
22
23
24
25
+echo "🏗️ 4. Building the project..."
26
+npm run build || {
27
+ echo "❌ Build failed!"
28
29
30
31
+echo "✅ All checks passed! Ready to close the issue."
32
+exit 0
0 commit comments