fix(ci): run workflows in the shared build container and enable corepack for pnpm installs

This commit is contained in:
2026-03-15 15:44:54 +00:00
parent ca2b3b25a5
commit e97a4d53ae
6 changed files with 27 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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'
}

View File

@@ -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'
}