Skip to content

Commit b3f7ca6

Browse files
committed
unit test additions and auth store improvement
1 parent a7b2e2b commit b3f7ca6

38 files changed

Lines changed: 1845 additions & 401 deletions

.githooks/pre-commit

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env sh
2+
set -e
3+
4+
if [ "$SKIP_TEST_COMPLIANCE" = "1" ]; then
5+
echo "Skipping unit-test compliance (SKIP_TEST_COMPLIANCE=1)."
6+
exit 0
7+
fi
8+
9+
echo "Running unit-test compliance checks..."
10+
yarn test:compliance
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Unit Test Compliance
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- "codex/**"
8+
pull_request: {}
9+
10+
jobs:
11+
unit-test-compliance:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Node
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 20.x
21+
22+
- name: Install dependencies
23+
run: yarn install --frozen-lockfile
24+
25+
- name: Run unit + component compliance
26+
run: yarn test:compliance

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ node_modules
33
.data/*
44
docs/
55
yarn.lock
6+
dist/
7+
coverage/
68

79
# local env files
810
.env.local

0 commit comments

Comments
 (0)