File tree Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 77 pull_request :
88 branches :
99 - main
10- schedule :
11- - cron : " 0 0 * * *"
1210
1311jobs :
1412 docs :
Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ source :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : oven-sh/setup-bun@v2
17+ with :
18+ bun-version : latest
19+ - uses : actions/setup-python@v5
20+ with :
21+ python-version : 3.x
22+ - name : Install Python Dependencies
23+ run : pip install --upgrade pip hatch uv
24+ - name : Run Tests
25+ run : hatch run javascript:check
Original file line number Diff line number Diff line change @@ -129,6 +129,13 @@ deploy_latest = ["cd docs && mike deploy --push --update-aliases {args} latest"]
129129deploy_develop = [" cd docs && mike deploy --push develop" ]
130130check_examples = [" ruff check docs/examples/python" ]
131131
132+ # >>> Hatch JS Scripts <<<
133+ [tool .hatch .envs .javascript ]
134+ detached = true
135+
136+ [tool .hatch .envs .javascript .scripts ]
137+ check = [" cd src/js && bun install && bun run check" ]
138+
132139# >>> Generic Tools <<<
133140
134141[tool .ruff ]
You can’t perform that action at this time.
0 commit comments