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