diff --git a/.github/workflows/verify_components.yml b/.github/workflows/verify_components.yml index 19933439..9b24bc51 100644 --- a/.github/workflows/verify_components.yml +++ b/.github/workflows/verify_components.yml @@ -9,10 +9,30 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + run_install: false + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version-file: ".node-version" + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install - name: Build - run: rails g ruby_ui:component:all --force true + run: bin/rails g ruby_ui:component:all --force true - uses: CatChen/check-git-status-action@v1 with: diff --git a/Gemfile.lock b/Gemfile.lock index 114e6434..87bf1267 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,7 +14,7 @@ GIT GIT remote: https://github.com/ruby-ui/ruby_ui.git - revision: f5a275f191c32bd50d8ab2876a32586cf9435866 + revision: 1a21bdb6fd38d2bd08e684a82b71e1637a727597 branch: main specs: ruby_ui (1.0.1)