diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index caedeb0..f3670c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,6 +126,16 @@ jobs: CONSENT_LOGGING_API_KEY: ci-consent-api-key-placeholder IP_ANONYMIZATION_PEPPER: ci-anonymization-pepper-placeholder + - name: Run Payload Migrations + run: pnpm payload migrate + env: + PAYLOAD_SECRET: test-payload-secret + DATABASE_URI: postgresql://payload:payload_test_password@localhost:5432/payload_test + NEXT_PUBLIC_SERVER_URL: https://test.example.com + PAYLOAD_PUBLIC_SERVER_URL: https://test.example.com + CONSENT_LOGGING_API_KEY: ci-consent-api-key-placeholder + IP_ANONYMIZATION_PEPPER: ci-anonymization-pepper-placeholder + - name: Run Integration Tests run: pnpm test:int env: