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