From e97a4d53ae1ba09b51fef4ebc776eae9649b6511 Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Sun, 15 Mar 2026 15:44:54 +0000 Subject: [PATCH] fix(ci): run workflows in the shared build container and enable corepack for pnpm installs --- .gitea/workflows/ci.yml | 12 ++++++++++++ .gitea/workflows/npm-publish.yml | 2 ++ .gitea/workflows/release.yml | 5 +++++ changelog.md | 6 ++++++ ts/00_commitinfo_data.ts | 2 +- ts_web/00_commitinfo_data.ts | 2 +- 6 files changed, 27 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3c72a1d..0f40cdd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -12,6 +12,8 @@ jobs: check: name: Type Check & Lint runs-on: ubuntu-latest + container: + image: code.foss.global/hosttoday/ht-docker-dbase:latest steps: - name: Checkout code @@ -39,6 +41,8 @@ jobs: build: name: Build Test (Current Platform) runs-on: ubuntu-latest + container: + image: code.foss.global/hosttoday/ht-docker-dbase:latest steps: - name: Checkout code @@ -54,6 +58,9 @@ jobs: with: node-version: '22' + - name: Enable corepack + run: corepack enable + - name: Install dependencies run: pnpm install @@ -73,6 +80,8 @@ jobs: build-all: name: Build All Platforms runs-on: ubuntu-latest + container: + image: code.foss.global/hosttoday/ht-docker-dbase:latest steps: - name: Checkout code @@ -88,6 +97,9 @@ jobs: with: node-version: '22' + - name: Enable corepack + run: corepack enable + - name: Install dependencies run: pnpm install diff --git a/.gitea/workflows/npm-publish.yml b/.gitea/workflows/npm-publish.yml index 706bde9..4c2efc4 100644 --- a/.gitea/workflows/npm-publish.yml +++ b/.gitea/workflows/npm-publish.yml @@ -8,6 +8,8 @@ on: jobs: npm-publish: runs-on: ubuntu-latest + container: + image: code.foss.global/hosttoday/ht-docker-dbase:latest steps: - name: Checkout code diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 5a45547..f7ac17d 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -8,6 +8,8 @@ on: jobs: build-and-release: runs-on: ubuntu-latest + container: + image: code.foss.global/hosttoday/ht-docker-dbase:latest steps: - name: Checkout code @@ -25,6 +27,9 @@ jobs: with: node-version: '22' + - name: Enable corepack + run: corepack enable + - name: Install dependencies run: pnpm install diff --git a/changelog.md b/changelog.md index f7053fc..f33943c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-03-15 - 1.13.4 - fix(ci) +run workflows in the shared build container and enable corepack for pnpm installs + +- adds the ht-docker-dbase container image to CI, release, and npm publish workflows +- enables corepack before pnpm install in build and release jobs to ensure package manager availability + ## 2026-03-15 - 1.13.3 - fix(build) replace custom Deno compile scripts with tsdeno-based binary builds in CI and release workflows diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 18df417..3b1ffd3 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/onebox', - version: '1.13.3', + version: '1.13.4', description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers' } diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 18df417..3b1ffd3 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/onebox', - version: '1.13.3', + version: '1.13.4', description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers' }