Skip to content

feat: allow to emit end exchange event from client for stopping respo… #2081

feat: allow to emit end exchange event from client for stopping respo…

feat: allow to emit end exchange event from client for stopping respo… #2081

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
lint-packages:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
package:
- telemetry
- coded-action-app
defaults:
run:
working-directory: packages/${{ matrix.package }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: packages/${{ matrix.package }}/package-lock.json
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run SDK Tests
run: npm run test:coverage -- --run
test-packages:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
package:
- telemetry
defaults:
run:
working-directory: packages/${{ matrix.package }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: packages/${{ matrix.package }}/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test