Skip to content

Commit 1d1c863

Browse files
committed
Write user to npmrc
1 parent dcc5a18 commit 1d1c863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/reviewing_changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
echo "Waiting for Verdaccio to be ready..."; sleep 2;
6969
done
7070
npm config set registry http://localhost:4873
71-
npx npm-cli-adduser -u dummy -p dummy -e [email protected] -r http://localhost:4873
71+
node -e "require('fs').appendFileSync(require('path').join(require('os').homedir(), '.npmrc'), '//localhost:4873/:_auth=' + Buffer.from('dummy:dummy').toString('base64') + '\nemail=[email protected]\nalways-auth=true\n')"
7272
npm publish staging_package.tgz --registry http://localhost:4873/
7373
shell: bash
7474

0 commit comments

Comments
 (0)