chore(actions): Use PG pass secret (#6548)
This commit is contained in:
11
.github/workflows/action.yml
vendored
11
.github/workflows/action.yml
vendored
@@ -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:
|
||||
@@ -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
|
||||
@@ -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:
|
||||
@@ -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:
|
||||
@@ -341,4 +340,4 @@ jobs:
|
||||
run: yarn test:integration:repositories
|
||||
env:
|
||||
DB_USERNAME: postgres
|
||||
DB_PASSWORD: postgres
|
||||
DB_PASSWORD: ${{ secrets.POSTGRES_PASS }}
|
||||
|
||||
Reference in New Issue
Block a user