diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ff0caa3..b53e09c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -94,4 +94,7 @@ jobs: if: env.RELEASE_MODE == 'publish' env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm publish \ No newline at end of file + run: | + echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc + npm publish + rm .npmrc \ No newline at end of file