We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5269856 commit 0f121b0Copy full SHA for 0f121b0
1 file changed
.github/workflows/benchmark.yml
@@ -0,0 +1,29 @@
1
+name: API Benchmark (Smoke)
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ main ]
6
7
+jobs:
8
+ benchmark:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - name: Setup Node.js
13
+ uses: actions/setup-node@v3
14
+ with:
15
+ node-version: '18'
16
17
+ # In a real scenario, we'd start the server here
18
+ # - name: Start API
19
+ # run: npm run start:api & sleep 5
20
21
+ - name: Install dependencies
22
+ working-directory: ./benchmarks
23
+ run: npm install
24
25
+ - name: Run Smoke Benchmark
26
27
+ run: npm run benchmark:smoke
28
+ env:
29
+ TARGET_HOST: http://localhost:3000
0 commit comments