npm/jedi: Build pybricks-api from source.

Now that we use a single release pipeline, the API itself might not yet be on PyPI by the time we build jedi, so we build it locally.

We'll still keep the API docs on PyPI so users can have local autocomplete, but that path is no longer a dependency for building jedi.
This commit is contained in:
Laurens Valk
2026-05-30 09:40:09 +02:00
parent a780b8d69e
commit acda5b21cb
3 changed files with 15 additions and 2 deletions
+4
View File
@@ -30,6 +30,10 @@ jobs:
- name: Set pybricks-jedi version
run: poetry version "$VERSION"
working-directory: jedi
- name: Set pybricks version and update jedi dependency pin
run: |
poetry version "$VERSION"
sed -i "s/^pybricks = \".*\"/pybricks = \"$VERSION\"/" jedi/pyproject.toml
- uses: actions/setup-node@v4
with:
node-version: '24'