From 8e3be9d7f5ed6b32abd11be2447094e598414433 Mon Sep 17 00:00:00 2001 From: Vergil Penkov <85731267+vergilfromadyen@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:33:55 +0200 Subject: [PATCH] Revert back to the recommended configuration pattern in the docs after specifying an environment --- .github/workflows/npmpublish.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index fa9d9f7a..53f51503 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -13,10 +13,11 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x - registry-url: https://registry.npmjs.org/ + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - run: | - npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }} npm install npm run build - npm publish + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}