We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea7cc27 commit 501c5ecCopy full SHA for 501c5ec
.github/workflows/rspec.yml
.github/workflows/release.yml renamed to .github/workflows/rspec_and_release.yml
@@ -1,10 +1,27 @@
1
-name: release
+name: Rspec and Release
2
3
on:
4
push:
5
+ pull_request:
6
7
jobs:
8
+ rspec:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Set up Ruby 2.5.8
14
+ uses: actions/setup-ruby@v1
15
+ with:
16
+ ruby-version: 2.5.8
17
+ - name: Test with Rspec
18
+ run: |
19
+ gem install --no-rdoc --no-ri bundler
20
+ bundle install --jobs 4 --retry 3
21
+ bundle exec rspec
22
release:
23
+ if: github.event_name == 'push'
24
+ needs: rspec
25
runs-on: ubuntu-latest
26
27
steps:
@@ -30,3 +47,4 @@ jobs:
30
47
extra_plugins: |
31
48
@semantic-release/changelog
32
49
@semantic-release/git
50
0 commit comments