Skip to content

Commit 10bce3f

Browse files
committed
check if react & ujs are updated
1 parent 469f632 commit 10bce3f

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.github/workflows/ruby.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,32 @@
88
name: Ruby
99
on: [push]
1010
jobs:
11+
check_react_and_ujs:
12+
strategy:
13+
fail-fast: true
14+
matrix:
15+
ruby: [2.7]
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: ${{ matrix.ruby }}
22+
- uses: actions/setup-node@v3
23+
- run: bundle install
24+
- run: yarn
25+
- run: bundle exec rake react:update
26+
- run: bundle exec rake ujs:update
27+
- name: Check for uncommitted changes
28+
uses: mskri/check-uncommitted-changes-action@v1.0.1
29+
30+
1131
test:
32+
needs: check_react_and_ujs
1233
strategy:
1334
fail-fast: false
1435
matrix:
15-
ruby:
16-
- 2.7.0
36+
ruby: [2.7]
1737
gemfile:
1838
# These have shakapacker:
1939
- rails_5.2_no_sprockets

0 commit comments

Comments
 (0)