Skip to content

Commit 7511c7b

Browse files
committed
chore(gh): update release-please-action & run tests before release
1 parent 529c2e4 commit 7511c7b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/gem-push.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ jobs:
99
name: Build + Publish
1010
runs-on: ubuntu-latest
1111
permissions:
12-
contents: read
13-
packages: write
14-
12+
contents: write
13+
pull-requests: write
1514
steps:
16-
- uses: GoogleCloudPlatform/release-please-action@v2
15+
- uses: google-github-actions/release-please-action@v4
1716
id: release
1817
with:
1918
release-type: ruby
@@ -27,6 +26,10 @@ jobs:
2726
with:
2827
ruby-version: 3.3
2928
if: ${{ steps.release.outputs.release_created }}
29+
- name: Run tests
30+
run: |
31+
bundle exec rspec
32+
if: ${{ steps.release.outputs.release_created }}
3033
- name: Publish to GPR
3134
run: |
3235
mkdir -p $HOME/.gem

0 commit comments

Comments
 (0)