Files
mem0/.github/workflows/zapier-mem0-checks.yml
T
Himanshu-Sangshetti 43901527a3 ci(integrations): fix n8n + Zapier checks (skip native builds, Node 22)
- n8n: add --ignore-scripts to pnpm install (checks + cd). n8n-workflow
  transitively pulls isolated-vm, whose native build fails on the CI
  runner and isn't needed for lint/build/publish (types + eslint only).
- Zapier: bump checks/cd to Node 22 — zapier-platform-cli@19 requires
  Node >= 22 (validate failed on Node 20).
2026-07-20 11:55:29 +05:30

41 lines
1.1 KiB
YAML

name: zapier-mem0 checks
# On PRs this is invoked by ci-gate.yml (the single required check);
# push-to-main and manual runs remain standalone.
#
# CI runs `zapier validate` (offline schema + style checks). The end-to-end
# jest suite is skipped here because it hits the live Mem0 API — it runs
# locally with MEM0_API_KEY set (see the package README).
on:
workflow_dispatch:
push:
branches: [main]
paths:
- 'integrations/zapier-mem0/**'
- '.github/workflows/zapier-mem0-checks.yml'
workflow_call:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
cache-dependency-path: integrations/zapier-mem0/pnpm-lock.yaml
- name: Install dependencies
run: cd integrations/zapier-mem0 && pnpm install --frozen-lockfile
- name: Validate Zapier app definition
run: cd integrations/zapier-mem0 && npx zapier-platform-cli@19 validate