SDK Integration Tests #97
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SDK Integration Tests | |
| on: | |
| schedule: | |
| # Run daily at 18:00 UTC | |
| - cron: '0 18 * * *' | |
| workflow_dispatch: | |
| # Allow manual trigger | |
| jobs: | |
| integration-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6.4.0 | |
| with: | |
| node-version: '24' | |
| - name: Enable corepack | |
| run: corepack enable | |
| - name: Setup pnpm cache | |
| uses: actions/setup-node@v6.4.0 | |
| with: | |
| node-version: '24' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Supply-chain audit (strict — catches drift in transient deps) | |
| run: pnpm audit && pnpm audit signatures | |
| - name: Build | |
| run: pnpm build | |
| - name: Run Integration Tests | |
| env: | |
| PLUGGY_CLIENT_ID: ${{ secrets.PLUGGY_CLIENT_ID }} | |
| PLUGGY_CLIENT_SECRET: ${{ secrets.PLUGGY_CLIENT_SECRET }} | |
| PLUGGY_API_URL: https://api.pluggy.ai | |
| run: pnpm test:integration |