File tree Expand file tree Collapse file tree 7 files changed +87
-117
lines changed
Expand file tree Collapse file tree 7 files changed +87
-117
lines changed Original file line number Diff line number Diff line change 1- name : Test
1+ name : Check
22
33on :
44 push :
9595 run : pip install --upgrade pip hatch uv
9696 - name : Run Python type checker
9797 run : hatch run python:type_check
98+
99+ javascript :
100+ runs-on : ubuntu-latest
101+ steps :
102+ - uses : actions/checkout@v4
103+ - uses : oven-sh/setup-bun@v2
104+ with :
105+ bun-version : latest
106+ - uses : actions/setup-python@v5
107+ with :
108+ python-version : 3.x
109+ - name : Install Python Dependencies
110+ run : pip install --upgrade pip hatch uv
111+ - name : Run Tests
112+ run : hatch run javascript:check
113+ docs :
114+ runs-on : ubuntu-latest
115+ steps :
116+ - uses : actions/checkout@v4
117+ with :
118+ fetch-depth : 0
119+ - uses : oven-sh/setup-bun@v2
120+ with :
121+ bun-version : latest
122+ - uses : actions/setup-python@v5
123+ with :
124+ python-version : 3.x
125+ - name : Install Python Dependencies
126+ run : pip install --upgrade pip hatch uv
127+ - name : Check documentation links
128+ run : hatch run docs:linkcheck
129+ - name : Check docs build
130+ run : hatch run docs:build
131+ - name : Check docs examples
132+ run : hatch fmt docs --check
Original file line number Diff line number Diff line change 1- name : Publish Develop Docs
1+ name : Publish Develop
22on :
33 push :
44 branches :
55 - main
66jobs :
7- publish-develop- docs :
7+ docs :
88 runs-on : ubuntu-latest
99 steps :
1010 - uses : actions/checkout@v4
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Publish Release
2+ on :
3+ release :
4+ types : [published]
5+
6+ jobs :
7+ docs :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ with :
12+ fetch-depth : 0
13+ - uses : oven-sh/setup-bun@v2
14+ with :
15+ bun-version : latest
16+ - uses : actions/setup-python@v5
17+ with :
18+ python-version : 3.x
19+ - name : Install dependencies
20+ run : pip install --upgrade pip hatch uv
21+ - name : Configure Git
22+ run : |
23+ git config user.name github-actions
24+ git config user.email github-actions@github.com
25+ - name : Publish ${{ github.event.release.name }} Docs
26+ run : hatch run docs:deploy_latest ${{ github.ref_name }}
27+ concurrency :
28+ group : publish-docs
29+
30+ python :
31+ runs-on : ubuntu-latest
32+ steps :
33+ - uses : actions/checkout@v4
34+ - uses : oven-sh/setup-bun@v2
35+ with :
36+ bun-version : latest
37+ - name : Set up Python
38+ uses : actions/setup-python@v5
39+ with :
40+ python-version : " 3.x"
41+ - name : Install dependencies
42+ run : pip install --upgrade pip hatch uv
43+ - name : Build Package
44+ run : hatch build --clean
45+ - name : Publish to PyPI
46+ env :
47+ HATCH_INDEX_USER : ${{ secrets.PYPI_USERNAME }}
48+ HATCH_INDEX_AUTH : ${{ secrets.PYPI_PASSWORD }}
49+ run : hatch publish --yes
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments