1 parent 96b76e8 commit 26da15aCopy full SHA for 26da15a
1 file changed
.github/workflows/api-smoke.yml
@@ -0,0 +1,35 @@
1
+name: API Smoke (Postman + Newman)
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ api-smoke:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
18
+ - name: Setup Node
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: "20"
22
+ cache: "npm"
23
24
+ - name: Install dependencies
25
+ run: npm ci
26
27
+ - name: Run API smoke tests (Newman)
28
+ run: npm run api:smoke
29
30
+ - name: Upload Newman reports
31
+ if: always()
32
+ uses: actions/upload-artifact@v4
33
34
+ name: newman-reports
35
+ path: newman/reports
0 commit comments