From c31162445c2eb083a6fa08b24ee961253985badf Mon Sep 17 00:00:00 2001 From: pranav-kural Date: Wed, 24 Jul 2024 00:02:02 -0400 Subject: [PATCH] updated documentation + build workflow --- .github/dependabot.yml | 4 ++-- .github/workflows/build.yml | 4 ++++ README.md | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c360261..0af1a8d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -46,11 +46,11 @@ updates: intento: applies-to: version-updates patterns: - - '@oconva/intento' + - 'intento' intento-security-updates: applies-to: security-updates patterns: - - '@oconva/intento' + - 'intento' - package-ecosystem: 'github-actions' directory: '/' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46b9f81..2d35484 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,3 +30,7 @@ jobs: run: pnpm prettier . --write - name: Build run: pnpm build + - name: Test + run: pnpm test + env: + GOOGLE_GENAI_API_KEY: ${{ secrets.GOOGLE_GENAI_API_KEY }} \ No newline at end of file diff --git a/README.md b/README.md index bf9c589..369b9e3 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ npm install # or pnpm install npm run dev # or pnpm dev ``` -The starter template predefines some chat endpoints. Once, you run the project, you can test the endpoints from terminal using command below: +The starter template predefines some IRS endpoints based on test data. Once, you run the project, you can test the endpoints from terminal using command below: ```bash copy curl -X POST "http://127.0.0.1:3400/irs" -H "Content-Type: application/json" -H "Authorization: a5zwhp0YlcRVkpnOXchIkL1lrmf0MPg24POM0kO6HcM=" -d '{"data": { "query": "add 4 litres milk?", "uid": "DI2UZuaTWjQPzVCRjzPW" } }'