Skip to content

chore(deps): bump the all-actions group across 1 directory with 2 updates #1468

chore(deps): bump the all-actions group across 1 directory with 2 updates

chore(deps): bump the all-actions group across 1 directory with 2 updates #1468

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@v6
- name: Set up pnpm
uses: pnpm/action-setup@v6
with:
version: 10 # Use pnpm version 10
- name: Set up Node.js
uses: actions/setup-node@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_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_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_ACCESS_TOKEN }}