Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

ci: add npm package checks to main CI workflow

Mario5e08446b9910
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 77b3c064..023df336 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -49,8 +49,38 @@ jobs:
echo "$coverage" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
+ npm:
+ name: npm Package
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-node@v4
+ with:
+ node-version: '22'
+
+ - name: Install dependencies
+ working-directory: npm
+ run: npm ci --ignore-scripts
+
+ - name: Lint (ESLint)
+ working-directory: npm
+ run: npm run lint
+
+ - name: Format Check (Prettier)
+ working-directory: npm
+ run: npm run format:check
+
+ - name: Build TypeScript
+ working-directory: npm
+ run: tsc
+
+ - name: Run tests
+ working-directory: npm
+ run: npm test
+
lint:
- name: Lint
+ name: Lint (Go)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -93,7 +123,7 @@ jobs:
integration:
name: Integration Tests
- needs: [build, lint, security]
+ needs: [build, npm, lint, security]
runs-on: ubuntu-latest
timeout-minutes: 15
steps: