Skip to content

Commit d1f1d6d

Browse files
committed
change login step as per npm warning
1 parent 2fac9dd commit d1f1d6d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/reviewing_changes.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
with:
5858
node-version: ${{ matrix.node }}
5959

60+
- name: Install npm-cli-login
61+
run: npm install -g npm-cli-login
62+
6063
- name: Setup staging npm package
6164
if: ${{ github.event.inputs.package_url != '' }}
6265
run: |
@@ -68,7 +71,11 @@ jobs:
6871
echo "Waiting for Verdaccio to be ready..."; sleep 2;
6972
done
7073
npm config set registry http://localhost:4873
71-
echo -e "dummy\ndummy\[email protected]" | npm adduser --registry http://localhost:4873
74+
npm-cli-login \
75+
--username dummy \
76+
--password dummy \
77+
78+
--registry http://localhost:4873
7279
npm publish staging_package.tgz --registry http://localhost:4873/
7380
shell: bash
7481

0 commit comments

Comments
 (0)