Skip to content

Commit

Permalink
Add git config and build script to publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed May 13, 2024
1 parent 12756ce commit 40ed982
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ jobs:
version: latest
run_install: true

- run: pnpm release --increment prepatch
- name: Setup Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
- name: Build
run: pnpm build

- name: Publish Package
run: pnpm release --increment prepatch
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 40ed982

Please sign in to comment.