From fd8d2d11d03c862b1e41a1944f9944d4de50d770 Mon Sep 17 00:00:00 2001 From: Victor Cuena Garcia Date: Thu, 10 Aug 2023 15:46:19 +0200 Subject: [PATCH] Add correct publish env variable --- .github/workflows/publish.yml | 3 ++- .npmrc | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 .npmrc diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 958ac4f..0f54f40 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: npm ci - name: Lint code @@ -22,4 +23,4 @@ jobs: - name: Deploy package run: npm publish env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/.npmrc b/.npmrc deleted file mode 100644 index bd3327a..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -//registry.npmjs.org/:_authToken=${NPM_TOKEN} \ No newline at end of file