Skip to content

Commit

Permalink
Merge pull request #844 from buildo/fix-release-action
Browse files Browse the repository at this point in the history
Fix release action
  • Loading branch information
gabro authored May 3, 2024
2 parents ae3a660 + 425034d commit d7d8d27
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:
permissions: write-all

jobs:
checks:
release:
runs-on: ubuntu-latest
name: Checks
name: Release
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -24,11 +24,18 @@ jobs:
cd packages/bento-design-system
pnpm version --no-git-tag-version --new-version ${{ github.ref_name }}
- name: Get Github App Token
id: github_app_token
uses: getsentry/action-github-app-token@v3
with:
app_id: ${{ secrets.RELEASE_BOT_APP_ID }}
private_key: ${{ secrets.RELEASE_BOT_APP_PRIVATE_KEY }}

- name: Commit & Push changes
uses: actions-js/push@master
with:
message: ${{ github.ref_name }}
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ steps.github_app_token.outputs.token }}

- name: Publish to npm
uses: JS-DevTools/npm-publish@v3
Expand Down

0 comments on commit d7d8d27

Please sign in to comment.