Fix/secondary terminal binary framing #413
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: Run Tests | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'src/**' | |
- 'test/**' | |
- 'package.json' | |
- 'pnpm-lock.yaml' | |
- 'tsconfig.json' | |
- 'scripts/**' | |
- '.github/workflows/test.yml' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'src/**' | |
- 'test/**' | |
- 'package.json' | |
- 'pnpm-lock.yaml' | |
- 'tsconfig.json' | |
- 'scripts/**' | |
- '.github/workflows/test.yml' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 10 # Use pnpm version 10 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "22.x" # Use Node.js 22.x | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Type check | |
run: pnpm run build | |
- name: Lint check | |
run: pnpm run lint | |
- name: Run React Web CLI Unit Tests | |
run: pnpm --filter @ably/react-web-cli test | |
- name: Run CLI Unit Tests | |
run: pnpm test:unit | |
env: | |
E2E_ABLY_API_KEY: ${{ secrets.E2E_ABLY_API_KEY }} | |
CLI_GENERAL_TESTS: true | |
- name: Run CLI Integration Tests | |
run: pnpm test:integration | |
env: | |
E2E_ABLY_API_KEY: ${{ secrets.E2E_ABLY_API_KEY }} | |
CLI_GENERAL_TESTS: true | |