Skip to content

fix(install): write host.env (JHT_HOST_TYPE) on the manual install pa… #1500

fix(install): write host.env (JHT_HOST_TYPE) on the manual install pa…

fix(install): write host.env (JHT_HOST_TYPE) on the manual install pa… #1500

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint-typecheck:
name: Lint & Type-check
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
cache: "npm"
cache-dependency-path: |
web/package-lock.json
shared/package-lock.json
- name: Install web dependencies
run: npm ci
- name: Install shared dependencies
working-directory: shared
run: npm ci
- name: Lint
run: npm run lint
- name: Type-check
run: npx tsc --noEmit
test:
name: Vitest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
cache: "npm"
cache-dependency-path: |
tests/js/package-lock.json
web/package-lock.json
cli/package-lock.json
shared/package-lock.json
shared/cron/package-lock.json
- name: Install test runner dependencies
working-directory: tests/js
run: npm ci
- name: Install web dependencies for imported routes
working-directory: web
run: npm ci
- name: Install CLI dependencies for imported commands
working-directory: cli
run: npm ci
- name: Install shared dependencies for imported modules
working-directory: shared
run: npm ci
- name: Install cron dependencies for imported modules
working-directory: shared/cron
run: npm ci
- name: Run tests
working-directory: tests/js
run: npm test
build:
name: Build Web
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
cache: "npm"
cache-dependency-path: |
web/package-lock.json
shared/package-lock.json
- name: Install web dependencies
run: npm ci
- name: Install shared dependencies
working-directory: shared
run: npm ci
- name: Build
run: npm run build
env:
NEXT_TELEMETRY_DISABLED: "1"