LifeMate — Personal, Family & Learning Companion
ci: run backend integration tests without lockfile dependency
davoodmehraban89 committed
Oct 5, 2026 at 07:39 UTC
4965d2434563522c7c21b204e36537ab679d6661
1 file changed
+2
-4
.github/workflows/ci.yml
+2
-4
@@ -49,9 +49,7 @@ jobs:
49
- uses: actions/setup-node@v4
50
with:
51
node-version: 22
52
- cache: npm
53
- cache-dependency-path: backend/package-lock.json
54
- - name: Apply migrations
52
+ - name: Apply migrations
53
run: |
54
psql -h localhost -U postgres -d lifemate_ci -v ON_ERROR_STOP=1 -f backend/migrations/0001_identity_family.sql
55
psql -h localhost -U postgres -d lifemate_ci -v ON_ERROR_STOP=1 -f backend/migrations/0002_auth.sql
@@ -59,7 +57,7 @@ jobs:
57
run: psql -h localhost -U postgres -d lifemate_ci -v ON_ERROR_STOP=1 -f backend/tests/schema_test.sql
58
- name: Install backend
59
working-directory: backend
62
- run: npm ci
60
+ run: npm install
61
- name: Backend tests
62
working-directory: backend
63
run: npm test