feat(CDPSDK-2436): add CreateSubscription for Webhook Events #2538
Workflow file for this run
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: E2E TypeScript Tests | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| working-directory: ./typescript | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 | |
| with: | |
| version: 10 | |
| run_install: false | |
| - name: Install Node.js | |
| uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 | |
| with: | |
| node-version: 22 | |
| cache: "pnpm" | |
| cache-dependency-path: "./typescript/pnpm-lock.yaml" | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run E2E Tests | |
| env: | |
| CDP_API_KEY_ID: ${{ secrets.CDP_API_KEY_ID }} | |
| CDP_API_KEY_SECRET: ${{ secrets.CDP_API_KEY_SECRET }} | |
| CDP_WALLET_SECRET: ${{ secrets.CDP_WALLET_SECRET }} | |
| CDP_E2E_SMART_ACCOUNT_ADDRESS: ${{ vars.CDP_E2E_SMART_ACCOUNT_ADDRESS }} | |
| CDP_E2E_SOLANA_RPC_URL: ${{ secrets.CDP_E2E_SOLANA_RPC_URL }} | |
| E2E_LOGGING: true | |
| DISABLE_CDP_ERROR_REPORTING: true | |
| DISABLE_CDP_USAGE_TRACKING: true | |
| run: pnpm run test:e2e |