ci(temp): verify P01 test and lockfile corrections
This commit is contained in:
1 parent
d8ac96e39d
commit
90fce0629a
16 files changed
+1094
-2804
No files matched your search
@@ -5,6 +5,12 @@ on:
|
||||
paths:
|
||||
- '.gitea/workflows/datastack-ci.yml'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
p01_only:
|
||||
description: Run P01 tests, typecheck, build and Windows clean-install only
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
jobs:
|
||||
node-regression:
|
||||
@@ -38,6 +44,7 @@ jobs:
|
||||
test "$failed" -eq 0
|
||||
|
||||
python-regression:
|
||||
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.p01_only != 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
@@ -87,6 +94,7 @@ jobs:
|
||||
test -f .next/standalone/server.js
|
||||
|
||||
docker-image-build:
|
||||
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.p01_only != 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 35
|
||||
steps:
|
||||
@@ -127,12 +135,9 @@ jobs:
|
||||
shell: powershell
|
||||
run: |
|
||||
$ErrorActionPreference = 'Stop'
|
||||
# Diagnostic only: regenerate the lock in the disposable runner checkout.
|
||||
# The tracked repository lock remains unchanged for the later bug-fix phase.
|
||||
npm install --package-lock-only --no-audit --no-fund
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Temporary lock regeneration failed' }
|
||||
# Verify the committed cross-platform lock without disposable regeneration.
|
||||
npm ci --no-audit --no-fund
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Diagnostic npm install failed' }
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Committed-lock npm ci failed' }
|
||||
npm --prefix sdk/node/datastack install --no-audit --no-fund
|
||||
if ($LASTEXITCODE -ne 0) { throw 'SDK install failed' }
|
||||
npm --prefix sdk/node/datastack run build
|
||||
|
||||
Reference in new issue
Block a user