fix: use node-pg-migrate instead of deleted init.sql in e2e workflow
SonarQube Analysis / sonarqube (pull_request) Successful in 6m39s
Tests / backend-unit (pull_request) Successful in 1m24s
Tests / backend-integration (pull_request) Successful in 2m2s
Tests / frontend-e2e (pull_request) Failing after 56s

This commit is contained in:
2026-08-14 16:18:20 -05:00
parent 1355b3076a
commit 483b1391a5
+4 -6
View File
@@ -117,16 +117,14 @@ jobs:
with:
node-version: '20'
- name: Install postgresql-client
run: apt-get update && apt-get install -y postgresql-client
- name: Load schema
run: PGPASSWORD=redefined_test psql -h postgres -U redefined_test -d redefined_test -f backend/init.sql
- name: Install backend deps
run: npm install
working-directory: backend
- name: Run migrations
run: node migrate.js up
working-directory: backend
- name: Build and start backend
run: |
mkdir -p /tmp/redefined-uploads