From 6736d3e4fb6d8b8dbf3cf3b0d6b9c82248e2db92 Mon Sep 17 00:00:00 2001 From: Ankit Prajapati Date: Tue, 18 Jun 2024 15:23:09 +0530 Subject: [PATCH] feat(ci cd): trying login in npm using auth type web --- .github/workflows/publish_new_version.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_new_version.yml b/.github/workflows/publish_new_version.yml index 7f0947c..5a6c49b 100644 --- a/.github/workflows/publish_new_version.yml +++ b/.github/workflows/publish_new_version.yml @@ -17,6 +17,7 @@ jobs: with: node-version: 20 - - run: npm login ${{ secrets.NPM_TOKEN }} - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + # - run: npm login ${{ secrets.NPM_TOKEN }} + # env: + # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: npm login --auth-type=web