diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 0821e04..55058a5 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -19,6 +19,10 @@ jobs: uses: codecov/codecov-action@v1.0.0 with: token: ${{secrets.CODECOV_TOKEN}} - - run: yarn publish + - name: Setup .yarnrc.yml + run: | + yarn config set npmAuthToken $NPM_TOKEN + yarn config set npmAlwaysAuth true env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + NPM_TOKEN: ${{ secrets.npm_token }} + - run: yarn publish