| name | canva-ci-integration |
| description | Configure CI/CD pipelines for Canva Connect API integrations with GitHub Actions.
Use when setting up automated testing, configuring CI pipelines,
or integrating Canva API tests into your build process.
Trigger with phrases like "canva CI", "canva GitHub Actions",
"canva automated tests", "CI canva", "canva pipeline".
|
| allowed-tools | Read, Write, Edit, Bash(gh:*) |
| version | 1.5.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","design","canva"] |
| compatibility | Designed for Claude Code |
Canva CI Integration
Overview
Set up CI/CD pipelines for Canva Connect API integrations. Uses MSW mock server for unit tests and real API calls for integration tests.
Instructions
Step 1: GitHub Actions Workflow
name: Canva Integration Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm test -- --coverage
integration-tests:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'