Skip to content

Commit

Permalink
Add environment variables to ci tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
noahk004 committed Jan 15, 2025
1 parent f39c4ad commit 30ecbd6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ jobs:
working-directory: .
run: pnpm install --filter ./apps/api

- name: Set environment variables
env:
DATABASE_URL: ${{ vars.DATABASE_URL }}
AWS_S3_REGION: ${{ vars.AWS_S3_REGION }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_S3_ACCESS_KEY: ${{ secrets.AWS_S3_ACCESS_KEY }}
AWS_S3_SECRET_KEY: ${{ secrets.AWS_S3_SECRET_KEY }}

- name: Run Unit Tests
working-directory: apps/api
run: pnpm test
2 changes: 1 addition & 1 deletion apps/api/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"baseUrl": ".", // Base directory for resolving non-relative imports
"baseUrl": "." // Base directory for resolving non-relative imports
},
"include": ["src", "lib", "__tests__"],
"exclude": ["node_modules", "dist"]
Expand Down

0 comments on commit 30ecbd6

Please sign in to comment.