Skip to content

Commit

Permalink
ci(fix): minor
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharbansal22 committed Apr 2, 2024
1 parent 54048c2 commit 3e7d484
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dev_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:



- name: Create .env.development file
- name: Create .env file
env:
PORT: $${{secrets.PORT}}
CONNECTION_STRING: "mongodb://test:test@localhost:27017"
Expand All @@ -40,11 +40,11 @@ jobs:
ORIGIN: "*"

run: |
echo "PORT=${PORT}" >> .env.development
echo "CONNECTION_STRING=${CONNECTION_STRING}" >> .env.development
echo "JWT_SECRET=${JWT_SECRET}" >> .env.development
echo "NODE_ENV=${NODE_ENV}" >> .env.development
echo "TEST_CONNECTION_STRING=${TEST_CONNECTION_STRING}" >> .env.development
echo "PORT=${PORT}" >> .env
echo "CONNECTION_STRING=${CONNECTION_STRING}" >> .env
echo "JWT_SECRET=${JWT_SECRET}" >> .env
echo "NODE_ENV=${NODE_ENV}" >> .env
echo "TEST_CONNECTION_STRING=${TEST_CONNECTION_STRING}" >> .env
- name: Run Jest tests
run: npm test

0 comments on commit 3e7d484

Please sign in to comment.