You only get squeaks on the wound strings. No one has invented bass strings yet that won't squeak. You'd think they would have by now. About all you can do is lift your fingers from the strings when moving along the fretboard, but sometimes you have to slide along a string(s), so you can't. Or you can try to use the flats of your fingers when sliding---also not always possible. We'll have to live with a few squeaks in songs.
I've seen a couple of guitarists over the years who had an allergy to various types of metals, so they wore surgical gloves while playing. They didn't seem to squeak much at all, if any. I haven't tried it, but it might be a good idea for recording anyway.