Javascript shorthand if-else syntax when there are multiple things to do? [duplicate]

I am trying to write this in shorthand:

If(rainingOutside) { 
    goRideBike()
    goToBeach()
    console.log('it works')
} else {
    stayHome()
    writeCode()
}

I know it looks cleaner in the ‘classic’ if-else block, but I was wondering how do you write multiple stuff to do in shorthand? The below doesn’t work:

{ rainingOutside ? goRideBike() goToBeach() console.log('it doesn't work!') : stayHome() writeCode() }