diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index ae2f170..58840cf 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -50,7 +50,8 @@ jobs: - name: 'Create GH .npmrc' shell: bash run: | - echo -e "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}\n@contentful:registry=https://npm.pkg.github.com\nalways-auth=true" > .npmrc + echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" > ~/.npmrc + echo "@contentful:registry=https://npm.pkg.github.com" >> ~/.npmrc env: GITHUB_TOKEN: ${{ steps.vault.outputs.GITHUB_PACKAGES_WRITE_TOKEN }}