Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aatalrashid committed Jan 29, 2024
1 parent 6ec3c48 commit 645e83d
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand Down
7 changes: 7 additions & 0 deletions apps/agent/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
const nextConfig = {
reactStrictMode: true,
transpilePackages: ['@sahil/lib', 'ui', '@sahil/configs', "@sahil/features"],
output: "standalone",
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
images: {
remotePatterns: [
{
Expand Down
7 changes: 7 additions & 0 deletions apps/client/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
const nextConfig = {
reactStrictMode: true,
transpilePackages: ['@sahil/lib', 'ui', '@sahil/configs', "@sahil/features"],
output: "standalone",
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
images: {
remotePatterns: [
{
Expand Down
42 changes: 42 additions & 0 deletions apps/website/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
SERVER_URL="http://localhost:3000/"

HASURA
HASURA_GRAPHQL_CORS_DOMAIN=""
NEXT_PUBLIC_HASURA_GRAPHQL_ENDPOINT=""
NEXT_PUBLIC_HASURA_GRAPHQL_ADMIN_SECRET=''
NEXT_PUBLIC_HASURA_GRAPHQL_WS=""

AUTH
SECRET=""
NEXTAUTH_SECRET=""
NEXT_PUBLIC_NEXTAUTH_URL="http://localhost:3000/"

APIs
NEXT_PUBLIC_GITHUB_SECRET=""
NEXT_PUBLIC_GITHUB_ID=""
NEXT_PUBLIC_GOOGLE_SECRET=""
NEXT_PUBLIC_GOOGLE_API_KEY=""
NEXT_PUBLIC_GOOGLE_ID=""
NEXT_PUBLIC_API_KEY=""

CACHING
CACHE_SERVER=""
TURBO_TOKEN=""
TURBO_TEAM=""

NODEJS_API
NODE_ENV="development"
REDIS_PORT="6379"
REDIS_HOST="localhost"
REDIS_PASSWORD=""
REDIS_URL="redis://redis:6379"

POSTGRES_USER=""
POSTGRES_PASSWORD=""
POSTGRES_DB=""
DATABASE_URL="postgresql://postgres:@localhost:5432/sahil"
DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}"

ARENA_PORT=""
SENDGRID_API_KEY=""
FROM_EMAIL_ADDRESS=""
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"dev-api": "turbo run dev --filter=api",
"build-agent": "turbo run build --filter=agent --api='https://cache-server.sahil.app' --team='team_sahil' --token='sAhILBiLLionDoLLarToK3n'",
"dev-agent": "turbo run dev --filter=agent",
"build-client": "turbo run build --filter=client --api='https://cache-server.sahil.app' --team='team_sahil' --token='sAhILBiLLionDoLLarToK3n'",
"dev-client": "turbo run dev --filter=client",
"build": "turbo run build",
"dev": "turbo run dev",
"lint": "turbo run lint",
Expand Down

0 comments on commit 645e83d

Please sign in to comment.