Skip to content

Commit cde932f

Browse files
committed
merge main
2 parents af1a0eb + 0409b28 commit cde932f

File tree

19 files changed

+6119
-2
lines changed

19 files changed

+6119
-2
lines changed

.github/workflows/development.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@ jobs:
2121
- name: Run quality checks
2222
run: tox -e quality
2323

24+
ui-quality-checks:
25+
permissions:
26+
contents: "read"
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Check out code
30+
uses: actions/checkout@v3
31+
32+
- name: Install dependencies
33+
run: npm ci
34+
working-directory: src/ui
35+
36+
- name: Run quality and typing checks
37+
run: npm run lint
38+
working-directory: src/ui
39+
2440
type-checks:
2541
runs-on: ubuntu-latest
2642
strategy:
@@ -37,6 +53,22 @@ jobs:
3753
- name: Run quality checks
3854
run: tox -e types
3955

56+
ui-type-checks:
57+
permissions:
58+
contents: "read"
59+
runs-on: ubuntu-latest
60+
steps:
61+
- name: Check out code
62+
uses: actions/checkout@v3
63+
64+
- name: Install dependencies
65+
run: npm ci
66+
working-directory: src/ui
67+
68+
- name: Run quality and typing checks
69+
run: npm run type-check
70+
working-directory: src/ui
71+
4072
precommit-checks:
4173
runs-on: ubuntu-latest
4274
strategy:
@@ -53,6 +85,22 @@ jobs:
5385
- name: Run pre-commit checks
5486
run: pre-commit run --all-files
5587

88+
ui-precommit-check:
89+
permissions:
90+
contents: "read"
91+
runs-on: ubuntu-latest
92+
steps:
93+
- name: Check out code
94+
uses: actions/checkout@v3
95+
96+
- name: Install dependencies
97+
working-directory: src/ui
98+
run: npm ci
99+
100+
- name: Run pre-commit checks
101+
run: npx husky run pre-commit
102+
working-directory: src/ui
103+
56104
unit-tests:
57105
runs-on: ubuntu-latest
58106
strategy:

.gitignore

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,46 @@ cython_debug/
179179
*.json
180180
*.yaml
181181

182-
# Turn off UI related ignores, defer to ui/.gitignore
183-
!ui/**/*.json
182+
183+
# UI Section - Next.js/React application under src/ui/
184+
# dependencies
185+
/node_modules/
186+
/.pnp
187+
.pnp.*
188+
.yarn/*
189+
!.yarn/patches
190+
!.yarn/plugins
191+
!.yarn/releases
192+
!.yarn/versions
193+
194+
# testing
195+
coverage/
196+
197+
# next.js
198+
/src/ui/.next/
199+
/src/ui/out/
200+
201+
# production
202+
build/
203+
204+
# misc
205+
*.pem
206+
207+
# debug
208+
npm-debug.log*
209+
yarn-debug.log*
210+
yarn-error.log*
211+
.pnpm-debug.log*
212+
213+
# vercel
214+
src/ui/.vercel
215+
216+
# typescript
217+
src/ui/*.tsbuildinfo
218+
src/ui/next-env.d.ts
219+
220+
# Root-level UI config files that should be tracked
221+
!package.json
222+
!package-lock.json
223+
!.eslintrc.json
224+
!tsconfig.json

0 commit comments

Comments
 (0)