From 01a1fd356b6401b8c71d68a33f9812f0869992cd Mon Sep 17 00:00:00 2001 From: David Herman Date: Mon, 30 Oct 2023 00:15:16 -0700 Subject: [PATCH] fix authentication in the script --- .github/workflows/ci.yml | 6 ------ test/integration/proxy/publish.sh | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99c451b7..7a0d0615 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,6 @@ name: CI env: NODE_VERSION: 18.x - CIUSER: ci - CIEMAIL: ci@neon-bindings.com - CIPASS: dummycipassword CIPROXY: http://127.0.0.1:4873/ on: @@ -58,9 +55,6 @@ jobs: working-directory: ./test/integration/proxy timeout-minutes: 3 run: ./ci-proxy.sh '${{ env.CIPROXY }}' - - name: Authenticate Proxy - shell: bash - run: npx npm-cli-adduser -u ${{env.CIUSER}} -p ${{env.CIPASS}} -e ${{env.CIEMAIL}} -r ${{env.CIPROXY}} - name: Publish to npm Proxy shell: bash working-directory: ./test/integration/proxy diff --git a/test/integration/proxy/publish.sh b/test/integration/proxy/publish.sh index 5296c150..dff34215 100755 --- a/test/integration/proxy/publish.sh +++ b/test/integration/proxy/publish.sh @@ -9,7 +9,7 @@ PROXY_PASSWORD=dummycipassword PROXY_EMAIL=ci@neon-bindings.com PROXY_SERVER=http://127.0.0.1:4873/ -npx npm-cli-adduser -u $PROXY_USER -p PROXY_PASSWORD -e PROXY_EMAIL -r $PROXY_SERVER +npx npm-cli-adduser -u ${PROXY_USER} -p ${PROXY_PASSWORD} -e ${PROXY_EMAIL} -r ${PROXY_SERVER} (cd pkgs/load && npm publish --registry $PROXY_SERVER) (cd pkgs/cli && npm publish --registry $PROXY_SERVER)