Update Nuanze Client README + add Leaderboard endpoints #219
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 Tests | |
| on: | |
| pull_request: | |
| branches: [main] | |
| types: [opened, synchronize] | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| e2e: | |
| runs-on: blacksmith-2vcpu-ubuntu-2404 | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: useblacksmith/setup-node@v5 | |
| with: | |
| node-version: 'lts/*' | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Mount node_modules cache | |
| uses: useblacksmith/stickydisk@v1 | |
| with: | |
| key: ${{ github.repository }}-node-modules-bun | |
| path: ./node_modules | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Build SDK | |
| run: bun run build | |
| - name: Run E2E tests | |
| working-directory: apps/e2e | |
| env: | |
| PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | |
| CHAIN_ENV: inkTestnet | |
| run: bun run e2e:retry |