dnd 5e – Does a bonus action end invisibility gained from the Boon of the Night Spirit?

As the title says really. The Boon of the Night Spirit says:

While completely in an area of dim light or darkness, you can become invisible as an action. You remain invisible until you take an action or a reaction. (DMG, Chapter 7, page 232)

If a character did something that they can do as a bonus action (certain spells, dash or disengage for a rogue, etc.), would the invisibility end?