From c7c19e302cb196b1df030c322ac9b313b60885da Mon Sep 17 00:00:00 2001 From: Taco de Wolff Date: Sun, 10 Jul 2022 13:51:50 -0400 Subject: [PATCH] Update workflow --- .github/workflows/nodejs.yml | 3 ++- bindings/js/Makefile | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 488ed198b5..2aec880f87 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -66,5 +66,6 @@ jobs: env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc + echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc + cat ~/.npmrc make -C bindings/js publish diff --git a/bindings/js/Makefile b/bindings/js/Makefile index 1a685cc3f3..3fec548466 100644 --- a/bindings/js/Makefile +++ b/bindings/js/Makefile @@ -21,7 +21,6 @@ build: publish: sed -i.bak -e "s/\"version\": \".*\"/\"version\": \"${VERSION}\"/" package.json rm package.json.bak - npm whoami npm publish --access=public clean: