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