refactor(events): use event map to prevent duplication of mapping

12 jobs for feature/tag-ready-event in 10 minutes and 55 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Prepare
passed #976384008
NPM

00:02:35

 
  Build
passed #976384010
Build

00:01:49

 
  Test
passed #976384012
Changelog

00:01:02

passed #976384017
Docs

00:02:47

passed #976384013
ESLint

00:01:43

passed #976384015
Jest

00:03:57

97.91%
passed #976384016
Prettier

00:01:27

passed #976384011
license_scanning

00:01:27

 
  Compatibility
passed #976384018
Node 10.x (LTS)

00:05:55

passed #976384019
Node 12.x (LTS)

00:05:47

passed #976384020
Node 14.x (LTS)

00:05:48

passed #976384021
Node 15.x (current)

00:06:26