Skip to content

Commit

Permalink
Updating env variables for github/workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhish-nayak committed Mar 11, 2024
1 parent 90f1208 commit 5a62a7e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/server_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
env:
DB_URL: ${{ secrets.DB_URL }}
DB_SERVICE_ROLE_KEY: ${{ secrets.DB_SERVICE_ROLE_KEY }}

- name: Install dependencies
run: |
cd server
npm install
- name: Set up environment variables
env:
DB_URL: ${{ secrets.DB_URL }}
DB_SERVICE_ROLE_KEY: ${{ secrets.DB_SERVICE_ROLE_KEY }}

- name: Run tests
run: |
cd server
Expand Down

0 comments on commit 5a62a7e

Please sign in to comment.