I was wondering if you use the second bulletin of the pact of the chain if it would break the invisibility spell.
Pact of the Chain feature in question
Additionally, when you take the Attack action, you can forgo one of your own attacks to allow your familiar to use its reaction to make one attack with its reaction.
Invisibility Spell
A creature you touch becomes invisible until the spell ends. Anything the target is wearing or carrying is invisible as long as it is on the target’s person. The spell ends for a target that attacks or casts a spell.
So my question boils down to does the invisibility spell break when you take the Attack action or when you attack?