Skip to content

fix: normalize A2UI message format for n8n compatibility #18

fix: normalize A2UI message format for n8n compatibility

fix: normalize A2UI message format for n8n compatibility #18

Workflow file for this run

name: CI
# on:
# push:
# branches: [main, develop]
# pull_request:
# branches: [main, develop]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Type check
run: pnpm run type-check
- name: Lint
run: pnpm run lint
- name: Format check
run: pnpm run format:check
- name: Build
run: pnpm run build
# TODO: Add tests
# - name: Test
# run: pnpm run test
build-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build library
run: pnpm run build
- name: Build examples
run: |
cd examples/basic-demo
pnpm install
pnpm run build