diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aad67e7..b612084 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,4 +49,7 @@ jobs: shell: bash env: NODE_AUTH_TOKEN: ${{ secrets.NPM_API_TOKEN }} - run: npm publish --non-interactive --access public \ No newline at end of file + run: | + mv ci-npmrc.txt .npmrc + npm ci + npm publish --non-interactive --access public \ No newline at end of file diff --git a/ci-npmrc.txt b/ci-npmrc.txt new file mode 100644 index 0000000..3c64dc6 --- /dev/null +++ b/ci-npmrc.txt @@ -0,0 +1,4 @@ +//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN} +registry=https://registry.npmjs.org/ +always-auth=true +