codex/broker-operations-ui #19

Merged
ksv741 merged 2 commits from codex/broker-operations-ui into main 2026-06-18 07:29:01 +03:00
Showing only changes of commit b9ace3ed5e - Show all commits

View File

@ -9,46 +9,34 @@ env:
NODE_VERSION: 20 NODE_VERSION: 20
jobs: jobs:
lint: ci:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 'Checkout repository' - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: 'Setup dependencies' - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
- run: npm ci - name: Install dependencies
- run: npm run lint run: npm ci
- run: npx prettier --check "**/*.{ts,tsx}"
test: - name: Lint
runs-on: ubuntu-latest run: npm run lint
steps:
- name: 'Checkout repository'
uses: actions/checkout@v4
- name: 'Setup dependencies' - name: Format check
uses: actions/setup-node@v4 run: npm run format:check
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm ci - name: Test backend
- run: npm run test:backend run: npm run test:backend
build: - name: Test frontend
runs-on: ubuntu-latest run: npm run test:frontend
steps:
- name: 'Checkout repository'
uses: actions/checkout@v4
- name: 'Setup dependencies' - name: Build backend
uses: actions/setup-node@v4 run: npm run build:backend
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm ci - name: Build frontend
- run: npm run build:backend run: npm run build:frontend
- run: npm run build:frontend