Skip to content

Commit

Permalink
Add Unified Test Suite action with @ably-labs/uts-chat
Browse files Browse the repository at this point in the history
  • Loading branch information
VeskeR committed Oct 11, 2024
1 parent cef3139 commit 16e355d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/unified-test-suite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Unified Test Suite

on:
pull_request:
push:
branches:
- main

jobs:
unified-test-suite:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20

- run: npm ci

- name: Prepare adapter
working-directory: unified-test-suite/adapter
run: npm ci

- name: Install uts-chat globally
run: npm install -g @ably-labs/uts-chat

- name: Run uts-chat with ADAPTER_EXECUTABLE
env:
ADAPTER_EXECUTABLE: npm run uts:adapter
run: uts-chat

0 comments on commit 16e355d

Please sign in to comment.