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: check:
name: Type Check & Lint name: Type Check & Lint
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: code.foss.global/hosttoday/ht-docker-dbase:latest
steps: steps:
- name: Checkout code - name: Checkout code
@@ -39,6 +41,8 @@ jobs:
build: build:
name: Build Test (Current Platform) name: Build Test (Current Platform)
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: code.foss.global/hosttoday/ht-docker-dbase:latest
steps: steps:
- name: Checkout code - name: Checkout code
@@ -54,6 +58,9 @@ jobs:
with: with:
node-version: '22' node-version: '22'
- name: Enable corepack
run: corepack enable
- name: Install dependencies - name: Install dependencies
run: pnpm install run: pnpm install
@@ -73,6 +80,8 @@ jobs:
build-all: build-all:
name: Build All Platforms name: Build All Platforms
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: code.foss.global/hosttoday/ht-docker-dbase:latest
steps: steps:
- name: Checkout code - name: Checkout code
@@ -88,6 +97,9 @@ jobs:
with: with:
node-version: '22' node-version: '22'
- name: Enable corepack
run: corepack enable
- name: Install dependencies - name: Install dependencies
run: pnpm install run: pnpm install

View File

@@ -8,6 +8,8 @@ on:
jobs: jobs:
npm-publish: npm-publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: code.foss.global/hosttoday/ht-docker-dbase:latest
steps: steps:
- name: Checkout code - name: Checkout code

View File

@@ -8,6 +8,8 @@ on:
jobs: jobs:
build-and-release: build-and-release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: code.foss.global/hosttoday/ht-docker-dbase:latest
steps: steps:
- name: Checkout code - name: Checkout code
@@ -25,6 +27,9 @@ jobs:
with: with:
node-version: '22' node-version: '22'
- name: Enable corepack
run: corepack enable
- name: Install dependencies - name: Install dependencies
run: pnpm install run: pnpm install

View File

@@ -1,5 +1,11 @@
# Changelog # 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) ## 2026-03-15 - 1.13.3 - fix(build)
replace custom Deno compile scripts with tsdeno-based binary builds in CI and release workflows replace custom Deno compile scripts with tsdeno-based binary builds in CI and release workflows

View File

@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@serve.zone/onebox', 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' 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 = { export const commitinfo = {
name: '@serve.zone/onebox', 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' description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers'
} }