St Mirren continued an excellent week with a 2-1 home victory over Inverness in the Scottish Premier League on Wednesday night.