From 52bbac3a3710e027f27023cbea298ee65ce43b25 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Wed, 16 Jul 2025 09:19:59 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20Add=20GitHub=20Actions=20wo?= =?UTF-8?q?rkflow=20for=20publishing=20`@librechat/client`=20to=20NPM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/client.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/client.yml diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml new file mode 100644 index 0000000000..1f0e2fd86d --- /dev/null +++ b/.github/workflows/client.yml @@ -0,0 +1,32 @@ +name: Publish `@librechat/client` to NPM + +on: + workflow_dispatch: + inputs: + reason: + description: 'Reason for manual trigger' + required: false + default: 'Manual publish requested' + +jobs: + build-and-publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: '18.x' + + - name: Check if client package exists + run: | + if [ -d "packages/client" ]; then + echo "Client package directory found" + else + echo "Client package directory not found - workflow ready for future use" + exit 0 + fi + + - name: Placeholder for future publishing + run: echo "Client package publishing workflow is ready" \ No newline at end of file