fix: CI workflows — add nodejs, clean up migration runner

deploy.yaml: add nodejs install (required for actions/checkout)
migrate.yaml: rewrite migration runner
  - Use PGHOST/PGUSER/PGPASSWORD env vars (no inline -h/-U/-p flags)
  - ON_ERROR_STOP=1 for strict error handling on push
  - || true for dispatch (idempotent full replay)
  - Verify schema after apply
  - fetch-depth: 2 for diff detection
This commit is contained in:
2026-09-11 10:37:08 +09:00
parent 8290e9de37
commit 8dc774a6c8
2 changed files with 59 additions and 45 deletions
+4 -2
View File
@@ -15,8 +15,10 @@ jobs:
name: Tag & Push Latest
runs-on: rust
steps:
- name: Install Docker
run: apt-get update && apt-get install -y docker.io
- name: Install Node.js and Docker
run: |
apt-get update
apt-get install -y nodejs docker.io
- name: Checkout code
uses: actions/checkout@v4