diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..ffd7251 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,22 @@ +name: Publish + +on: + release: + types: [created] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v2 + with: + bun-version: latest + + - name: Install dependencies + run: bun install --frozen-lockfile + + - name: Publish + run: bun publish + env: + BUN_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..f7526d6 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,23 @@ +name: Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + types: [opened, reopened] + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v2 + with: + bun-version: latest + + - name: Install dependencies + run: bun install + + - name: Test + run: bun test diff --git a/README.md b/README.md index f44a30d..fae0d6d 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # manifold-workflow-engine +[![npm version](https://img.shields.io/npm/v/toak)](https://www.npmjs.com/package/toak) +![Tests](https://github.com/seemueller-io/toak/actions/workflows/tests.yml/badge.svg) +![License: MIT](https://img.shields.io/badge/License-MIT-green.svg) +![Node Version](https://img.shields.io/badge/node-%3E%3D18-brightgreen) A TypeScript/JavaScript library for building dynamic, LLM-driven workflows using a region-based execution model. ![workflow_function_manifold.png](https://github.com/seemueller-io/manifold-workflow-engine/blob/main/workflow_function_manifold.png?raw=true) - -![License: MIT](https://img.shields.io/badge/License-MIT-green.svg) -![Node Version](https://img.shields.io/badge/node-%3E%3D18-brightgreen) - ## Overview `manifold-workflow-engine` is a powerful library for creating dynamic, LLM-driven workflows that leverage a region-based execution model. It enables seamless navigation between different execution regions based on natural language prompts and maintains consistent workflow state throughout the execution process. diff --git a/package.json b/package.json index 788ea6f..77f6ec0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "manifold-workflow-engine", - "version": "2.0.5", + "version": "2.0.6", "author": "seemueller-io", "type": "module", "description": "for building dynamic, LLM-driven workflows using a region-based execution model", @@ -58,4 +58,4 @@ "typescript": "^5.6.3", "tslog": "^4.9.3" } -} \ No newline at end of file +}