I'm working up to my due date
I worked at FedEx lifting 20+ pounds, climbing ladders, ext till I was almost 38 weeks. It's very healthy for you to continue working, it will help tremendously in labor and recovery. A doctor shouldn't be telling you to leave work if or until you have health concerns.
Doctors won't tell you unless you are high risk. Most mom's take their leave around 36 weeks