Skip to content

Commit

Permalink
fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdip-b committed Jul 10, 2024
1 parent d1ecda8 commit 1693fee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/validate-api-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@ jobs:
pnpm run lint:api-client
- name: Test
env:
NODE_ENV: e2e
GITHUB_CLIENT_ID: dummy
GITHUB_CLIENT_SECRET: dummy
GITHUB_CALLBACK_URL: dummy
REDIS_URL: redis://localhost:6379
JWT_SECRET: secret
run: |
pnpm run test:api-client
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/validate-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ jobs:
- name: E2E tests
env:
GITHUB_CLIENT_ID: dummy
GITHUB_CLIENT_SECRET: dummy
GITHUB_CALLBACK_URL: dummy
REDIS_URL: redis://localhost:6379
JWT_SECRET: secret
run: pnpm run e2e:api
Expand Down
2 changes: 2 additions & 0 deletions packages/api-client/tests/config/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ function startAPI(): Promise<void> {
env: {
PATH: process.env.PATH,
DATABASE_URL: 'postgresql://prisma:prisma@localhost:5432/tests',
REDIS_URL: 'redis://localhost:6379',
JWT_SECRET: 'secret',
NODE_ENV: 'e2e'
}
})
Expand Down

0 comments on commit 1693fee

Please sign in to comment.