Skip to content

[v2] Proof of Concept: monorepo, package split #1021

[v2] Proof of Concept: monorepo, package split

[v2] Proof of Concept: monorepo, package split #1021

Workflow file for this run

name: Publish Any Commit
permissions:
contents: read
on:
pull_request:
push:
branches:
- '**'
tags:
- '!**'
jobs:
pkg-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install
- name: Build packages
run: pnpm run build:all
- name: Publish preview packages
run: pnpm dlx pkg-pr-new publish './packages/server' './packages/client'