Skip to content

[WIP] python initial #141

[WIP] python initial

[WIP] python initial #141

Workflow file for this run

name: Quality
on:
workflow_dispatch: {}
push:
branches:
- main
pull_request:
branches:
- main
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup linting
uses: ./.github/actions/setup
- name: Lint - TypeScript
run: pnpm --filter @commercetools/commerce-agent run lint
- name: Lint - Model Context Protocol
run: pnpm --filter @commercetools/commerce-mcp run lint
- name: Lint - Processors
run: pnpm --filter @commercetools/processors run lint
formatting:
name: Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup formatting
uses: ./.github/actions/setup
- name: Prettier - TypeScript
run: pnpm --filter @commercetools/commerce-agent run prettier-check
- name: Prettier - Model Context Protocol
run: pnpm --filter @commercetools/commerce-mcp run prettier-check
- name: Prettier - Processors
run: pnpm --filter @commercetools/processors run prettier-check
testing:
name: Testing
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup testing
uses: ./.github/actions/setup
- name: Build all packages
run: |
pnpm --filter @commercetools/processors run build
pnpm --filter @commercetools/commerce-agent run build
pnpm --filter @commercetools/commerce-mcp run build
- name: Test - TypeScript
run: pnpm --filter @commercetools/commerce-agent run test
- name: Test - Model Context Protocol
run: pnpm --filter @commercetools/commerce-mcp run test
- name: Test - Processors
run: pnpm --filter @commercetools/processors run test