Skip to content

Merge branch 'main' of https://github.com/supermemoryai/supermemory #1

Merge branch 'main' of https://github.com/supermemoryai/supermemory

Merge branch 'main' of https://github.com/supermemoryai/supermemory #1

name: Publish AI SDK
on:
push:
paths:
- "packages/ai-sdk/package.json"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
defaults:
run:
working-directory: ./packages/ai-sdk
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
- name: Publish
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}