From 315376ef1d12c3715242833626678696058abcfa Mon Sep 17 00:00:00 2001 From: Maciej <100693724+m-kusnierz@users.noreply.github.com> Date: Fri, 8 Nov 2024 10:08:31 +0100 Subject: [PATCH] Use HOME path to write .npmrc file (#31) --- npm-install/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/npm-install/action.yml b/npm-install/action.yml index df57646..aa005db 100644 --- a/npm-install/action.yml +++ b/npm-install/action.yml @@ -78,15 +78,15 @@ runs: - name: Configure Debitoor token env: debitoor_npm_token: ${{ inputs.debitoor-npm-token }} - run: echo "//registry.npmjs.org/:_authToken=${debitoor_npm_token}" > .npmrc + run: echo "//registry.npmjs.org/:_authToken=${debitoor_npm_token}" > ~/.npmrc shell: bash - name: Configure SumUp token if: inputs.sumup-npm-token != '' env: sumup_npm_token: ${{ inputs.sumup-npm-token }} run: | - echo "@sumup:registry=https://npm.pkg.github.com" >> .npmrc - echo "//npm.pkg.github.com/:_authToken=${sumup_npm_token}" >> .npmrc + echo "@sumup:registry=https://npm.pkg.github.com" >> ~/.npmrc + echo "//npm.pkg.github.com/:_authToken=${sumup_npm_token}" >> ~/.npmrc shell: bash - name: Install SSH Key if: inputs.gh-ssh-private-key != ''