Skip to content

Integration Tests

Integration Tests #93

Workflow file for this run

name: Integration Tests
on:
schedule:
# Run nightly at 2 AM UTC
- cron: '0 2 * * *'
workflow_dispatch:
# Allow manual trigger
jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run integration tests
env:
RUN_INTEGRATION_TESTS: true
INTEGRATION_TEST_PUBLIC_KEY: ${{ secrets.INTEGRATION_TEST_PUBLIC_KEY }}
INTEGRATION_TEST_SECRET_KEY: ${{ secrets.INTEGRATION_TEST_SECRET_KEY }}
run: npm run test:integration