Skip to content

Commit 40e7938

Browse files
authored
Adding bin/rails to verify components action (#246)
* Adding bin/rails to verify components action * adding all the steps to the verify components action * Update ruby_ui version * remove pull_request
1 parent b59ebd9 commit 40e7938

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

.github/workflows/verify_components.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,30 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v3
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Ruby
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
bundler-cache: true
19+
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v4
22+
with:
23+
run_install: false
24+
25+
- name: Setup Node
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version-file: ".node-version"
29+
cache: 'pnpm'
30+
31+
- name: Install dependencies
32+
run: pnpm install
1333

1434
- name: Build
15-
run: rails g ruby_ui:component:all --force true
35+
run: bin/rails g ruby_ui:component:all --force true
1636

1737
- uses: CatChen/check-git-status-action@v1
1838
with:

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ GIT
1414

1515
GIT
1616
remote: https://github.com/ruby-ui/ruby_ui.git
17-
revision: f5a275f191c32bd50d8ab2876a32586cf9435866
17+
revision: 1a21bdb6fd38d2bd08e684a82b71e1637a727597
1818
branch: main
1919
specs:
2020
ruby_ui (1.0.1)

0 commit comments

Comments
 (0)