Skip to content

chore: adding rollup build, bundle esm only deps together with build #48

chore: adding rollup build, bundle esm only deps together with build

chore: adding rollup build, bundle esm only deps together with build #48

Workflow file for this run

name: Client SDK CI
on:
push:
branches:
- main
paths:
- "client/**"
pull_request:
paths:
- "client/**"
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
cache-dependency-path: "client/package-lock.json"
- name: Install dependencies
working-directory: client
run: npm ci
- name: Build
working-directory: client
run: npm run build:all
- name: Run tests
working-directory: client
run: npm run test