Skip to content

chore(deps): bump actions/checkout from 6 to 7 #69

chore(deps): bump actions/checkout from 6 to 7

chore(deps): bump actions/checkout from 6 to 7 #69

Workflow file for this run

name: e2e-p0
on:
pull_request:
paths:
- 'src/daemon/**'
- 'scripts/e2e-isolated-lifecycle.mjs'
- 'scripts/e2e-runner.mjs'
- 'scripts/e2e/**'
- '.github/workflows/e2e-p0.yml'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
smoke:
runs-on: windows-latest
timeout-minutes: 45
env:
NKS_WDC_SKIP_HOSTS_UAC: '1'
NKS_WDC_SKIP_FIREWALL_RULES: '1'
WDC_SKIP_STARTUP_REAPPLY: '1'
steps:
- uses: actions/checkout@v7
- name: Prepare isolated runtime data
shell: pwsh
run: |
$dataDir = Join-Path $env:RUNNER_TEMP 'wdc-smoke-data'
Remove-Item -LiteralPath $dataDir -Recurse -Force -ErrorAction SilentlyContinue
New-Item -ItemType Directory -Path $dataDir -Force | Out-Null
"WDC_DATA_DIR=$dataDir" | Out-File $env:GITHUB_ENV -Append
- name: Setup .NET 9
uses: actions/setup-dotnet@v5
with:
dotnet-version: '9.0.x'
- name: Setup Node 24
uses: actions/setup-node@v6
with:
node-version: '24'
- name: Build daemon
run: dotnet build src/daemon/NKS.WebDevConsole.Daemon/NKS.WebDevConsole.Daemon.csproj -c Release --nologo
- name: Stage plugin DLLs for daemon smoke
shell: pwsh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WDC_SKIP_PHAR_BUILD: '1'
run: |
node scripts/stage-plugins.mjs
$source = Join-Path $PWD 'src/frontend/resources/daemon/plugins'
$target = Join-Path $PWD 'build/plugins'
if (-not (Test-Path $source)) { throw "Plugin staging source missing: $source" }
Remove-Item -LiteralPath $target -Recurse -Force -ErrorAction SilentlyContinue
New-Item -ItemType Directory -Path $target -Force | Out-Null
Copy-Item -Path (Join-Path $source '*') -Destination $target -Recurse -Force
- name: Run isolated P0 e2e scenarios
run: node scripts/e2e-isolated-lifecycle.mjs --priority P0
- name: Upload daemon logs on failure
if: failure()
uses: actions/upload-artifact@v5
with:
name: daemon-logs
path: |
daemon.isolated.out.log
daemon.isolated.err.log
if-no-files-found: ignore