Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

ci: run the LM Studio plugin tests on PRs and pushes to main

Barack Sokullub602a38a0ca5
diff --git a/.github/workflows/lmstudio-plugin.yml b/.github/workflows/lmstudio-plugin.yml
new file mode 100644
index 000000000..70c22d9f3
--- /dev/null
+++ b/.github/workflows/lmstudio-plugin.yml
@@ -0,0 +1,42 @@
+name: LM Studio Plugin
+
+on:
+ pull_request:
+ paths:
+ - ".github/workflows/lmstudio-plugin.yml"
+ - "lmstudio-plugin/**"
+ push:
+ branches:
+ - main
+ paths:
+ - ".github/workflows/lmstudio-plugin.yml"
+ - "lmstudio-plugin/**"
+
+permissions:
+ contents: read
+
+concurrency:
+ group: lmstudio-plugin-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ test:
+ runs-on: ubuntu-24.04
+ timeout-minutes: 5
+ defaults:
+ run:
+ working-directory: lmstudio-plugin
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 20
+ cache: npm
+ cache-dependency-path: lmstudio-plugin/package-lock.json
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Build and test
+ run: npm test