Skip to content

Commit f652407

Browse files
committed
ci(release): Setup Git user before release
1 parent 0a9c9f7 commit f652407

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,38 @@ jobs:
2828
with:
2929
fetch-tags: 'true'
3030
fetch-depth: '0'
31+
3132
- name: Enable Corepack
3233
run: corepack enable
34+
3335
- name: Install Node.js
3436
uses: actions/setup-node@v4
3537
with:
3638
node-version: 20
3739
registry-url: 'https://registry.npmjs.org/'
3840
cache: 'yarn'
3941
cache-dependency-path: 'yarn.lock'
42+
4043
- name: Install dependencies
4144
run: yarn install --immutable
45+
4246
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
4347
run: npm audit signatures
48+
4449
- name: Lint all packages
4550
run: yarn lint
51+
4652
- name: Test all packages
4753
run: yarn test
54+
4855
- name: Build all packages
4956
run: yarn build
57+
58+
- name: Setup Git user
59+
run: |
60+
git config user.name "${{ github.actor }}"
61+
git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
62+
5063
- name: Release packages on '${{ inputs.channel }}' channel
5164
run: yarn release -c ${{ inputs.channel }}
5265
env:

0 commit comments

Comments
 (0)