From dd4f0468202115e03014ed54a40312373775202a Mon Sep 17 00:00:00 2001 From: Samuel Imolorhe Date: Sun, 29 Dec 2024 12:53:13 +0100 Subject: [PATCH] add new line to echo statement --- .github/workflows/_publish-npm.yml | 4 ++-- .npmrc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/_publish-npm.yml b/.github/workflows/_publish-npm.yml index 59f975edc3..4cc256eaed 100644 --- a/.github/workflows/_publish-npm.yml +++ b/.github/workflows/_publish-npm.yml @@ -15,7 +15,7 @@ on: inputs: node_version: description: 'Node.js version to use' - required: true + default: '22' type: string jobs: @@ -32,7 +32,7 @@ jobs: node-version: ${{ inputs.node_version }} cache: 'pnpm' - name: Authenticate with Registry - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc + run: echo -e "\n//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: pnpm i --frozen-lockfile diff --git a/.npmrc b/.npmrc index 9c15696fbc..4ffef58c65 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,3 @@ prefer-workspace-packages = true fetch-timeout = 1000000 -git-tag-version = false \ No newline at end of file +git-tag-version = false