Skip to content

Commit 94b8867

Browse files
author
Mnikley
committed
ci: fix AppImage uv install and bump web Node to 22
First live run surfaced two failures: - linux-appimage: `uv pip install --system` is rejected by uv's managed CPython (externally-managed). Install into a uv venv and prepend it to GITHUB_PATH so the later PyInstaller steps resolve it. - wheel + ci web job: pnpm 11.5 requires Node >=22.13 and crashed on the node:sqlite builtin under Node 20. Bump both jobs to Node 22.
1 parent f9e259a commit 94b8867

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
version: 11
4747
- uses: actions/setup-node@v4
4848
with:
49-
node-version: 20
49+
node-version: 22
5050
cache: pnpm
5151
cache-dependency-path: web/pnpm-lock.yaml
5252
- name: Install

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@ jobs:
5959
enable-cache: true
6060

6161
- name: Install project + PyInstaller
62-
run: uv pip install --system . pyinstaller
62+
# uv's managed CPython is externally-managed and rejects --system, so
63+
# install into a venv and put it on PATH for the later build steps.
64+
run: |
65+
uv venv
66+
uv pip install . pyinstaller
67+
echo "$PWD/.venv/bin" >> "$GITHUB_PATH"
6368
6469
# The Windows .spec uses backslash paths and a .ico icon, so the Linux
6570
# build drives PyInstaller via CLI flags instead.
@@ -124,7 +129,7 @@ jobs:
124129
version: 11
125130
- uses: actions/setup-node@v4
126131
with:
127-
node-version: 20
132+
node-version: 22
128133
cache: pnpm
129134
cache-dependency-path: web/pnpm-lock.yaml
130135
- name: Install uv

0 commit comments

Comments
 (0)