Following up here. I managed to get it working by adding - npm config set @gsap:registry https://npm.greensock.com/ to my pipeline script just before npm install. You need the npmrc file but through researching how to get this setup it appears it's not recommended to keep your npmrc file commit so you should setup a env var and have the pipeline script generate the npmrc file when it first runs.
Cheers,