-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (37 loc) · 936 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Build
on: [workflow_call]
jobs:
build-wheel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: actions/setup-python@v5
with:
python-version: 3.13
- name: Install npm dependencies
run: npm ci
- name: Install tox
run: python -m pip install --upgrade tox==4.23.2 tox-uv~=1.16.0
- name: Build docs
run: tox run -e docs
- name: Build UI
run: npm run build
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Build python app
run: tox run -e build
- name: Upload python artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*
- name: Upload docs
uses: actions/upload-artifact@v4
with:
name: docs
path: src/vdoc/docs/*