From da2a15b3eb9aa7bc460d3280ab787529e70f72ed Mon Sep 17 00:00:00 2001 From: Hans Ott Date: Wed, 2 Oct 2024 15:29:02 +0200 Subject: [PATCH] Debug npm --- .github/workflows/wasm-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wasm-publish.yml b/.github/workflows/wasm-publish.yml index 61d1589..c851fb1 100644 --- a/.github/workflows/wasm-publish.yml +++ b/.github/workflows/wasm-publish.yml @@ -43,9 +43,9 @@ jobs: id: get_version run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\/v/} - run: cd pkg && npm --no-git-tag-version version ${{ steps.get_version.outputs.tag }} + - run: npm whoami + - run: cat $NPM_CONFIG_USERCONFIG - name: Publish to npm + run: cd pkg && npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Use npm token from secrets - run: | - cd pkg - npm publish --provenance --access public