```python
from typing import List

def swipe_dedupe(swipes: List[int]) -> List[int]:
    """
    Deduplicate card swipes by removing any swipe that is the same as the one immediately before it,
    keeping the first occurrence of each run.
    
    :param swipes: List of integers representing card swipes in order.
    :return: List of integers with duplicates removed.
    """
    if not swipes:
        return []
    
    deduped_swipes = [swipes[0]]
    for swipe in swipes[1:]:
        if swipe != deduped_swipes[-1]:
            deduped_swipes.append(swipe)
    
    return deduped_swipes
```