Skip to content

feat: add @electric-sql/playbook package with AI coding assistant skills #294

feat: add @electric-sql/playbook package with AI coding assistant skills

feat: add @electric-sql/playbook package with AI coding assistant skills #294

Workflow file for this run

name: PR
on:
pull_request:
paths:
- 'packages/typescript-client/**'
- 'packages/react-hooks/**'
- 'packages/y-electric/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
jobs:
preview:
name: Preview
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.tool-versions'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build Packages
run: pnpm --filter @electric-sql/client --filter @electric-sql/react --filter @electric-sql/y-electric run build
- name: Publish Previews
run: pnpx pkg-pr-new publish --pnpm --compact './packages/typescript-client' './packages/react-hooks' './packages/y-electric'