diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 55004198..4bacb8ed 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -39,10 +39,7 @@ jobs:
 
     - name: Run tests
       run: npm run coverage
-
-    - name: Run Coveralls
-      run: npm run coveralls
-
+      
     - name: Check for changed dist files
       run: |
         git fetch origin main --depth=1
@@ -53,4 +50,8 @@ jobs:
           echo -e "\033[31mChanged files:"
           echo "$DIST_CHANGED"
           exit 1
-        fi
\ No newline at end of file
+        fi
+
+    - name: Run Coveralls
+      run: npm run coveralls
+      if: github.event_name == 'push' && github.ref == 'refs/heads/main'