Skip to content

chore(release): setup git config user #129

chore(release): setup git config user

chore(release): setup git config user #129

Workflow file for this run

name: Release
on:
push:
branches:
- master
- next
- beta
- alpha
env:
CI: true
jobs:
release:
name: Build, Release & Publish
permissions:
contents: read
id-token: write # needed for provenance data generation
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Setup Git
run: |
git config --global user.email semantic-release@github.com
git config --global user.name "Semantic Release CI"
- name: Install node, pnpm, and dependencies
uses: ./.github/actions/install-dependencies
- name: Build, Release on GitHub & Publish to NPM
env:
HUSKY: '0' # By default do not run HUSKY install
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
run: |
pnpm nx release --yes