dev #60

Merged
Latte merged 42 commits from dev into main 2026-03-08 09:41:15 +00:00
3 changed files with 8 additions and 11 deletions
Showing only changes of commit 7ac338986c - Show all commits
+4 -11
View File
@@ -194,21 +194,14 @@ jobs:
if: env.HAS_NODE == 'true'
uses: actions/setup-node@v4
with:
node-version: "lts/*"
# Keep CI on Node 20 to match runtime/Docker and better-sqlite3 compatibility.
node-version: "20.x"
- name: Install Node dependencies
if: env.HAS_NODE == 'true'
run: |
# Prefer deterministic install when lockfile is healthy.
# Fallback to npm install if lockfile is out-of-sync.
if [ -f package-lock.json ]; then
if ! npm ci; then
echo "npm ci failed; falling back to npm install"
npm install
fi
else
npm install
fi
# Lockfile is currently not authoritative; use install to refresh dependency tree.
npm install
# -----------------------------------------------------------------------
# Step 9: Node.js — Lint (only if "lint" script exists in package.json)
+1
View File
@@ -0,0 +1 @@
20
+3
View File
@@ -2,6 +2,9 @@
"name": "cozy-den",
"type": "module",
"version": "0.0.1",
"engines": {
"node": ">=20 <24"
},
"scripts": {
"dev": "astro dev",
"start": "astro dev",