Skip to content

Commit 86eb1a1

Browse files
beihailiclaude
andcommitted
build: add test step to deploy workflow
Tests now run before build in CI. A failing test will block deployment, ensuring only verified code reaches production. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ab12348 commit 86eb1a1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
- name: Install Dependencies 📦
3636
run: npm ci
3737

38+
- name: Run Tests 🧪
39+
run: npm test
40+
3841
- name: Build Application 🔨
3942
run: npm run build
4043
env:

0 commit comments

Comments
 (0)