mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Enabling unit tests for CI (#44)
This commit is contained in:
18
.github/workflows/code-qa.yml
vendored
18
.github/workflows/code-qa.yml
vendored
@@ -25,3 +25,21 @@ jobs:
|
|||||||
|
|
||||||
- name: Compile TypeScript
|
- name: Compile TypeScript
|
||||||
run: npm run compile
|
run: npm run compile
|
||||||
|
|
||||||
|
unit-test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '18'
|
||||||
|
cache: 'npm'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm run install:all
|
||||||
|
|
||||||
|
- name: Run unit tests
|
||||||
|
run: npx jest
|
||||||
Reference in New Issue
Block a user