Skip to content

Commit

Permalink
fix: [] add NPM token to .npmrc in CI (#1952)
Browse files Browse the repository at this point in the history
* fix: [] add NPM token to .npmrc in CI

* fix: [] fix append .npmrc
  • Loading branch information
omasopust authored Jul 2, 2024
1 parent 788ec73 commit a16d1c7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,8 @@ jobs:
- checkout
- vault/get-secrets:
template-preset: 'semantic-release-ecosystem'
- run:
name: Setup NPM
command: |
echo $'@contentful:registry=https://registry.npmjs.org/
//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> ~/.npmrc
- run: echo "//npm.pkg.github.com/:_authToken=${GITHUB_PACKAGES_WRITE_TOKEN}" > ~/.npmrc
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
- run: echo "//npm.pkg.github.com/:_authToken=${GITHUB_PACKAGES_WRITE_TOKEN}" >> ~/.npmrc
- run: echo "@contentful:registry=https://npm.pkg.github.com" >> ~/.npmrc
- run: npm ci
- run:
Expand Down

0 comments on commit a16d1c7

Please sign in to comment.