mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
✨ Add integration tests for mcp
This commit is contained in:
parent
11f2323057
commit
da55653844
45
.github/workflows/tests-mcp.yml
vendored
Normal file
45
.github/workflows/tests-mcp.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
name: "MCP CI"
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
- staging
|
||||||
|
- main
|
||||||
|
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
paths:
|
||||||
|
- 'mcp/**'
|
||||||
|
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
- staging
|
||||||
|
- main
|
||||||
|
|
||||||
|
paths:
|
||||||
|
- 'mcp/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
name: "Test"
|
||||||
|
runs-on: penpot-runner-02
|
||||||
|
container: penpotapp/devenv:latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup
|
||||||
|
working-directory: ./mcp
|
||||||
|
run: ./scripts/setup
|
||||||
|
|
||||||
|
- name: Check
|
||||||
|
working-directory: ./mcp
|
||||||
|
run: |
|
||||||
|
pnpm run fmt:check;
|
||||||
|
pnpm -r run build;
|
||||||
|
pnpm -r run types:check;
|
||||||
Loading…
x
Reference in New Issue
Block a user