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 7
7
pull_request :
8
8
branches :
9
9
- main
10
- schedule :
11
- - cron : " 0 0 * * *"
12
10
13
11
jobs :
14
12
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"]
129
129
deploy_develop = [" cd docs && mike deploy --push develop" ]
130
130
check_examples = [" ruff check docs/examples/python" ]
131
131
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
+
132
139
# >>> Generic Tools <<<
133
140
134
141
[tool .ruff ]
You can’t perform that action at this time.
0 commit comments