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 efd4973 commit dcd080f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ jobs:
ORIGIN: "*"
run: |
echo "PORT=${PORT}" >> .env.test
echo "MONGODB_URI=mongodb://test:test@localhost:27017" >> .env.test
echo "MONGODB_URI=mongodb://test:test@localhost:27017/test" >> .env.test
echo "NODE_ENV=${NODE_ENV}" >> .env.test
echo "JWT_SECRET=${JWT_SECRET}" >> .env.test
echo "ORIGIN=${ORIGIN}" >> .env.test
- name: Setup Admin Document
run: |
echo 'db.Admin.insertOne({username: "test", password: "test"})' | mongosh mongodb://test:test@localhost:27017
echo 'db.Admin.insertOne({username: "test", password: "test"})' | mongosh mongodb://test:test@localhost:27017/test
- name: Run Jest tests
run: npm test

0 comments on commit dcd080f

Please sign in to comment.