Skip to content

Commit

Permalink
Update run-int-e2e-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devDudu-21 authored Nov 11, 2024
1 parent fecaf8a commit da0a38b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/run-int-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
env:
APP_PORT: 3000
NODE_ENV: test
JWT_SECRET: fake_secret
JWT_SECRET: ${{ secrets.JWT_SECRET }}
JWT_EXPIRES_IN: 86400
DATABASE_URL: 'postgresql://postgres:docker@localhost:5432/projectdb?schema=public'

Expand All @@ -39,6 +39,14 @@ jobs:
node-version: 18
cache: 'npm'

- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm ci

Expand Down

0 comments on commit da0a38b

Please sign in to comment.