Skip to content

chore(dev-deps): bump the dev-minor-patch group across 1 directory with 24 updates #1833

chore(dev-deps): bump the dev-minor-patch group across 1 directory with 24 updates

chore(dev-deps): bump the dev-minor-patch group across 1 directory with 24 updates #1833

Workflow file for this run

name: Run Tests
on:
push:
branches: [ main ]
paths:
- 'src/**'
- 'test/**'
- 'package.json'
- 'pnpm-lock.yaml'
- 'tsconfig.json'
- 'scripts/**'
- 'examples/**'
- '.github/workflows/test.yml'
- '.claude/**'
pull_request:
branches: [ main ]
paths:
- 'src/**'
- 'test/**'
- 'package.json'
- 'pnpm-lock.yaml'
- 'tsconfig.json'
- 'scripts/**'
- 'examples/**'
- '.github/workflows/test.yml'
- '.claude/**'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
NO_COLOR: 1
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6
with:
version: 10 # Use pnpm version 10
- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
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 }}
E2E_ABLY_ACCESS_TOKEN: ${{ secrets.E2E_ABLY_ABLY_ACCESS_TOKEN }}
- name: Run CLI Hooks Unit Tests
run: pnpm test:hooks
env:
E2E_ABLY_API_KEY: ${{ secrets.E2E_ABLY_API_KEY }}
E2E_ABLY_ACCESS_TOKEN: ${{ secrets.E2E_ABLY_ABLY_ACCESS_TOKEN }}
- name: Run CLI Integration Tests
run: pnpm test:integration
env:
E2E_ABLY_API_KEY: ${{ secrets.E2E_ABLY_API_KEY }}
E2E_ABLY_ACCESS_TOKEN: ${{ secrets.E2E_ABLY_ABLY_ACCESS_TOKEN }}