Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

Fix Preview 2 release runner dependency setup

Yuechen Libf87ac1568d1
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 30f55355..fe21edd9 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -48,8 +48,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 26
- cache: npm
- cache-dependency-path: aetheris.client/package-lock.json
- name: Restore and build Preview 2 frozen baseline
run: |
dotnet restore Aetheris.slnx
diff --git a/scripts/package-release.ps1 b/scripts/package-release.ps1
index ef8a8e50..b812bc54 100644
--- a/scripts/package-release.ps1
+++ b/scripts/package-release.ps1
@@ -49,12 +49,23 @@ New-Item -ItemType Directory -Force -Path $stage, (Join-Path $output 'packages')
Push-Location (Join-Path $repoRoot 'aetheris.client')
try {
- tspack sync
- tspack check
- tspack run typecheck
- tspack run test
- tspack run build
- tspack run lint
+ if (Get-Command tspack -ErrorAction SilentlyContinue) {
+ tspack sync
+ tspack check
+ tspack run typecheck
+ tspack run test
+ tspack run build
+ tspack run lint
+ }
+ else {
+ # GitHub-hosted release runners do not carry the maintainer's standalone
+ # tspack binary. Install the locked package graph with lifecycle scripts
+ # disabled, then run the same project targets explicitly.
+ npm install --ignore-scripts
+ npm run test
+ npm run build
+ npm run lint
+ }
}
finally { Pop-Location }