Skip to content

Commit 0409b28

Browse files
DaltheCowmarkurtzCopilot
authored
Set up core framework pieces such as configs for eslint, typescript, prettier, husky precommit hook, basic GHA (#159)
Co-authored-by: Mark Kurtz <mark.j.kurtz@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9e31dfe commit 0409b28

File tree

10 files changed

+1094
-983
lines changed

10 files changed

+1094
-983
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:

0 commit comments

Comments
 (0)