ci: migrate Run Chatwoot CE spec workflow to Blacksmith CI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
gabrieljablonski 2026-03-21 13:45:40 -03:00
parent d120c25917
commit f3e2b31518

View File

@ -10,21 +10,21 @@ on:
jobs: jobs:
# Separate linting jobs for faster feedback # Separate linting jobs for faster feedback
lint-backend: lint-backend:
runs-on: ubuntu-latest runs-on: blacksmith-4vcpu-ubuntu-2404
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1 - uses: useblacksmith/setup-ruby@v2
with: with:
bundler-cache: true bundler-cache: true
- name: Run Rubocop - name: Run Rubocop
run: bundle exec rubocop --parallel run: bundle exec rubocop --parallel
lint-frontend: lint-frontend:
runs-on: ubuntu-latest runs-on: blacksmith-4vcpu-ubuntu-2404
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: pnpm/action-setup@v4 - uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4 - uses: useblacksmith/setup-node@v5
with: with:
node-version: 24 node-version: 24
cache: 'pnpm' cache: 'pnpm'
@ -35,11 +35,11 @@ jobs:
# Frontend tests run in parallel with backend # Frontend tests run in parallel with backend
frontend-tests: frontend-tests:
runs-on: ubuntu-latest runs-on: blacksmith-4vcpu-ubuntu-2404
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: pnpm/action-setup@v4 - uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4 - uses: useblacksmith/setup-node@v5
with: with:
node-version: 24 node-version: 24
cache: 'pnpm' cache: 'pnpm'
@ -50,7 +50,7 @@ jobs:
# Backend tests with parallelization # Backend tests with parallelization
backend-tests: backend-tests:
runs-on: ubuntu-latest runs-on: blacksmith-4vcpu-ubuntu-2404
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -86,11 +86,11 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }} ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
- uses: ruby/setup-ruby@v1 - uses: useblacksmith/setup-ruby@v2
with: with:
bundler-cache: true bundler-cache: true
- uses: actions/setup-node@v4 - uses: useblacksmith/setup-node@v5
with: with:
node-version: 24 node-version: 24
cache: 'pnpm' cache: 'pnpm'