Skip to content

feat(spec): add interaction retention-policy endpoint to private corti-api spec #1047

feat(spec): add interaction retention-policy endpoint to private corti-api spec

feat(spec): add interaction retention-policy endpoint to private corti-api spec #1047

name: integration-tests
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
integration-main:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Set up node
uses: actions/setup-node@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run integration tests (main)
run: pnpm test:integration:main
env:
CORTI_ENVIRONMENT: ${{ vars.CORTI_ENVIRONMENT }}
CORTI_TENANT_NAME: ${{ vars.CORTI_TENANT_NAME }}
CORTI_CLIENT_ID: ${{ vars.CORTI_CLIENT_ID }}
CORTI_CLIENT_SECRET: ${{ secrets.CORTI_CLIENT_SECRET }}
CI: true
integration-empty-state:
needs: [integration-main]
if: always()
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Set up node
uses: actions/setup-node@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run integration tests (empty-state)
run: pnpm test:integration:empty-state
env:
CORTI_ENVIRONMENT: ${{ vars.CORTI_ENVIRONMENT }}
CORTI_TENANT_NAME: ${{ vars.CORTI_TENANT_NAME }}
CORTI_CLIENT_ID: ${{ vars.CORTI_CLIENT_ID }}
CORTI_CLIENT_SECRET: ${{ secrets.CORTI_CLIENT_SECRET }}
CI: true