diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 4dd8f8eb..e8a40388 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -76,7 +76,7 @@ jobs: - name: Publish if: ${{ success() && runner.os == 'Linux' && github.event_name == 'push' && github.ref == 'refs/heads/main'}} run: | - yarn config set npmAuthToken 123 + yarn config set npmAuthToken $NODE_AUTH_TOKEN yarn publish --tag next --no-git-tag-version --prepatch --preid "$(git rev-parse --short HEAD)" env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}