Skip to content

Commit c7e9a07

Browse files
Merge pull request #10 from projectamazonph/fix/phase4-placeholder-illustrations
chore: replace placeholder illustrations with thematic SVGs
2 parents 8053637 + 78d0fd7 commit c7e9a07

18 files changed

Lines changed: 128 additions & 46 deletions

.github/workflows/ci.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,35 +42,34 @@ jobs:
4242
with:
4343
fetch-depth: 0
4444

45-
- uses: actions/setup-node@v4
45+
- uses: oven-sh/setup-bun@v1
4646
with:
47-
node-version: 22
48-
cache: 'npm'
47+
bun-version: "1.3.4"
4948

5049
- name: Install dependencies
51-
run: npm ci
50+
run: bun install --frozen-lockfile
5251

5352
- name: TypeScript check
54-
run: npx tsc --noEmit
53+
run: bunx tsc --noEmit
5554

5655
- name: ESLint
57-
run: npx eslint .
56+
run: bun run lint
5857

5958
- name: Push database schema
60-
run: npx prisma db push --accept-data-loss
59+
run: bun run db:push
6160

6261
- name: Seed database
63-
run: npm run db:seed
62+
run: bun run db:seed
6463

6564
- name: Unit tests
66-
run: CI=true npx vitest run
65+
run: CI=true bun run test
6766

6867
- name: Build
69-
run: npm run build
68+
run: bun run build
7069

7170
- name: Start server
7271
run: |
73-
npm run start -- -p 3000 &
72+
nohup bun run start -- -p 3000 &
7473
echo $! > server.pid
7574
for i in $(seq 1 30); do
7675
if curl -fsS http://localhost:3000 >/dev/null 2>&1; then
@@ -83,7 +82,7 @@ jobs:
8382
exit 1
8483
8584
- name: Integration tests (live server)
86-
run: CI=true TEST_BASE_URL=http://localhost:3000 npx vitest run __tests__/api/auth.test.ts __tests__/api/resources.test.ts __tests__/api/questions-interview-ai.test.ts __tests__/api/user-paths.test.ts
85+
run: CI=true TEST_BASE_URL=http://localhost:3000 bun run test -- __tests__/api/auth.test.ts __tests__/api/resources.test.ts __tests__/api/questions-interview-ai.test.ts __tests__/api/user-paths.test.ts
8786

8887
- name: Stop server
8988
if: always()
@@ -92,4 +91,4 @@ jobs:
9291
- name: Secret scan (gitleaks)
9392
uses: gitleaks/gitleaks-action@v2
9493
env:
95-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

__tests__/api/user-paths.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ describe('User Path: Resume Review Flow', () => {
148148
expect(status).toBe(200);
149149
expect(body).toHaveProperty('score');
150150
expect(body).toHaveProperty('missingKeywords');
151-
expect(body).toHaveProperty('improvedVersion');
151+
expect(body).toHaveProperty('improvedSummary');
152152
});
153153

154154
testIfServer('Step 3: Update resume with AI feedback', async () => {
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 8 deletions
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 10 deletions
Loading

0 commit comments

Comments
 (0)