I do not think that China will try and invade Taiwan. If it happens, I think it will be a "blockade" to try and drive Taiwan down that way.
Hopefully, China is paying attention to what is happening to Russia and their economy. I think it would be much more worse for China economically, especially if the West countries respond in the same way as they did for Ukraine.