circleci npmrc

Job ID: 33777974

Budget: $30 – $250 SGD

I have 2 scoped repositoris i want to install. sample rc is below.
I"ve tried adding to the config.yml but it doesn't work

- run:
name: NPM Github Authentication
command: printf "@straitsit:registry=https://npm.pkg.github.com/straitsit\n//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}\n@fortawesome:registry=https://npm.fontawesome.com\n//npm.fontawesome.com/:_authToken=${FA_TOKEN}" > .npmrc



@fortawesome:registry=https://npm.fontawesome.com
@straitsit:registry=https://npm.pkg.github.com/straitsit
//npm.fontawesome.com/:_authToken=${FA_TOKEN}
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
Related categories: CircleCI