From 67a7c30c8ba48a69c6c56b93d119f8e88a86759a Mon Sep 17 00:00:00 2001 From: kirrg001 Date: Thu, 12 Dec 2024 13:05:45 +0100 Subject: [PATCH] ci: fixed npmrc run action in release.yaml - we have added a npmrc file - the format broke because a line break was missing --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5429c08101..6cfea810a7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,7 +58,9 @@ jobs: run: .github/workflows/disallow-major-release.sh - name: Add token to .npmrc - run: echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc + run: | + echo "" >> .npmrc + echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc # This is required to make sure that new packages (@instana packages that we publish for the first time) can be # published to the npm registry. The default visibility for scoped packages is private, but our npm account