SDK Integration (testnet) #50
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 (testnet) | |
| on: | |
| schedule: | |
| # Nightly at 03:00 UTC. | |
| - cron: '0 3 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| integration: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: sdk | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.0.0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Run integration tests against testnet | |
| run: pnpm --filter @iln/sdk run test:integration | |
| env: | |
| TEST_SUBMITTER_SECRET: ${{ secrets.TEST_SUBMITTER_SECRET }} | |
| TEST_LP_SECRET: ${{ secrets.TEST_LP_SECRET }} |