Skip to content

Commit

Permalink
Merge pull request #42 from CapgeminiInventUK/feat/config
Browse files Browse the repository at this point in the history
chore: add note on envvars in zod
  • Loading branch information
georgeherby authored Feb 5, 2024
2 parents 9f89853 + 9ee87fc commit 7a4c532
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
with:
node-version: '20'
node-version: 20
cache: 'npm'
cache-dependency-path: ${{ matrix.project }}/package-lock.json
- name: Install dependencies
run: npm install
working-directory: ${{ matrix.project }}
Expand Down
1 change: 1 addition & 0 deletions ui/src/lib/utils/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { z } from 'zod';

//TODO Add in missing environment variables for Auth
const configSchema = z.object({
langtraceApiUrl: z.string().url(),
});
Expand Down

0 comments on commit 7a4c532

Please sign in to comment.