Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

ci(builder): Add CI for AutoGPT Builder (#7267)

Aarushi854080f7afff
diff --git a/.github/workflows/autogpt-builder-ci.yml b/.github/workflows/autogpt-builder-ci.yml
new file mode 100644
index 0000000000..c7ccb77bf4
--- /dev/null
+++ b/.github/workflows/autogpt-builder-ci.yml
@@ -0,0 +1,36 @@
+name: AutoGPT Builder CI
+
+on:
+ push:
+ branches: [ master ]
+ paths:
+ - '.github/workflows/autogpt-builder-ci.yml'
+ - 'rnd/autogpt_builder/**'
+ pull_request:
+ paths:
+ - '.github/workflows/autogpt-builder-ci.yml'
+ - 'rnd/autogpt_builder/**'
+
+defaults:
+ run:
+ shell: bash
+ working-directory: rnd/autogpt_builder
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '21'
+
+ - name: Install dependencies
+ run: |
+ npm install
+
+ - name: Run lint
+ run: |
+ npm run lint