diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ab5d69a2..d93d623d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,10 +20,14 @@ jobs: uses: pnpm/action-setup@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 - - name: git config + - name: Initialize Git User run: | git config user.name "${GITHUB_ACTOR}" - git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" + git config user.email "alvaro.saburido@gmail.com" + - name: Initialise the NPM config + run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Install dependencies run: pnpm install - name: Release diff --git a/.release-it.json b/.release-it.json index f86c24c10..a6344752f 100644 --- a/.release-it.json +++ b/.release-it.json @@ -12,6 +12,9 @@ "infile": "CHANGELOG.md" } }, + "npm": { + "publish": true + }, "hooks": { "before:init": ["pnpm run lint", "pnpm test:ci"], "after:bump": "pnpm run build",