ci(release): remove node bootstrap step, require system node
Some checks failed
Desktop CI / tests (push) Successful in 12s
Desktop Release / release (push) Failing after 25s

This commit is contained in:
2026-02-15 17:19:24 +03:00
parent 098a84e5bd
commit 37ce500fd2

View File

@@ -10,27 +10,6 @@ jobs:
runs-on: windows runs-on: windows
steps: steps:
- name: Ensure Node.js for Gitea actions
shell: powershell
run: |
if (Get-Command node -ErrorAction SilentlyContinue) {
node --version
exit 0
}
$nodeVersion = "v20.19.0"
$zipUrl = "https://nodejs.org/dist/$nodeVersion/node-$nodeVersion-win-x64.zip"
$zipPath = "$env:RUNNER_TEMP\node.zip"
$extractRoot = "$env:RUNNER_TEMP\node"
Invoke-WebRequest -Uri $zipUrl -OutFile $zipPath
Expand-Archive -Path $zipPath -DestinationPath $extractRoot -Force
$nodeDir = Get-ChildItem -Path $extractRoot -Directory | Select-Object -First 1
if (-not $nodeDir) {
throw "Node.js archive extracted incorrectly."
}
$nodeDir.FullName | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
$env:PATH = "$($nodeDir.FullName);$env:PATH"
node --version
- name: Checkout - name: Checkout
uses: https://git.daemonlord.ru/actions/checkout@v4 uses: https://git.daemonlord.ru/actions/checkout@v4
with: with: