Skip to content

Commit

Permalink
chore(actions): Use PG pass secret (#6548)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivermrbl authored Feb 29, 2024
1 parent 03ca5c8 commit 55275f0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Run integration tests
run: yarn test:integration:packages
env:
DB_PASSWORD: postgres
DB_PASSWORD: ${{ secrets.POSTGRES_PASS }}
DB_USERNAME: postgres

integration-tests-api:
Expand Down Expand Up @@ -184,10 +184,9 @@ jobs:
- name: Run integration tests
run: yarn test:integration:api
env:
DB_PASSWORD: postgres
DB_PASSWORD: ${{ secrets.POSTGRES_PASS }}
DB_USERNAME: postgres


integration-tests-plugins:
needs: setup
runs-on: ubuntu-latest
Expand Down Expand Up @@ -238,7 +237,7 @@ jobs:
run: yarn test:integration:plugins
env:
DB_USERNAME: postgres
DB_PASSWORD: postgres
DB_PASSWORD: ${{ secrets.POSTGRES_PASS }}
NODE_OPTIONS: "--max_old_space_size=4096"

integration-tests-modules:
Expand Down Expand Up @@ -291,7 +290,7 @@ jobs:
run: yarn test:integration:modules
env:
DB_USERNAME: postgres
DB_PASSWORD: postgres
DB_PASSWORD: ${{ secrets.POSTGRES_PASS }}
NODE_OPTIONS: "--max_old_space_size=4096"

integration-tests-repositories:
Expand Down Expand Up @@ -341,4 +340,4 @@ jobs:
run: yarn test:integration:repositories
env:
DB_USERNAME: postgres
DB_PASSWORD: postgres
DB_PASSWORD: ${{ secrets.POSTGRES_PASS }}

0 comments on commit 55275f0

Please sign in to comment.