fix(ci): use deno install for unit tests, add postgres readiness check
Tests / Unit tests (pull_request) Successful in 13s
Tests / Integration tests (pull_request) Has been cancelled

This commit is contained in:
2026-04-26 00:31:15 +02:00
parent f66de20dad
commit f739f94403
+10 -7
View File
@@ -16,16 +16,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Install dependencies
run: npm install --ignore-scripts
run: deno install
- name: Run unit tests
run: deno task test:unit
@@ -59,8 +55,15 @@ jobs:
with:
deno-version: v2.x
- name: Install drizzle-kit
run: npm install --ignore-scripts
- name: Install dependencies
run: npm install --ignore-scripts && deno install
- name: Wait for postgres
run: |
until pg_isready -h localhost -p 5432 -U test; do
echo "Waiting for postgres..."
sleep 2
done
- name: Apply migrations
env: