I'm designing a monk/warlock character and have noticed a potential synergy.
Cloak of the Shadows says:
When you are in an area of dim light or darkness, you can use your action to become invisible. You remain invisible until you make an attack, cast a spell, or are in an area of bright light.
Is the action to deal damage with witch bolt (after the initial casting) considered an attack? Do any other rules limit the usage of this synergy to remain invisible while continually dealing damage?