You're confusing H1B with PERM. H1B has no job posting requirements.
https://www.dol.gov/agencies/whd/fact-sheets/62o-h1b-recruit...