Skip to content

Expand Node client API coverage for admin, user, and analytics routes. #37

Expand Node client API coverage for admin, user, and analytics routes.

Expand Node client API coverage for admin, user, and analytics routes. #37

Workflow file for this run

name: Node build
on:
push:
branches: [ main, master, unstable ]
pull_request:
branches: [ main, master, unstable ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: ./package-lock.json
- name: Install dependencies
run: npm ci
- name: Run offline smoke tests
run: npm run test:offline
- name: Validate package entry point
run: node -e "const sdk=require('./'); if (typeof sdk !== 'function') process.exit(1); console.log('entry point OK')"