Skip to content

Commit 5de9632

Browse files
committed
Adding kafka CI
1 parent d7717cf commit 5de9632

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Kafka - confluentinc-kafka-javascript performance test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Setup Node
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 22.x
19+
20+
- name: Install
21+
run: npm install --ignore-scripts
22+
23+
- name: @confluentinc/kafka-javascript
24+
run: npm rebuild @confluentinc/kafka-javascript
25+
26+
- name: Build TS
27+
run: npm run build -- --filter=@message-queue-toolkit/kafka
28+
29+
- name: Docker start
30+
run: npm run docker:start:ci -- --filter=@message-queue-toolkit/kafka
31+
32+
- name: Run Tests
33+
run: npm run test:ci -- --filter=@message-queue-toolkit/kafka
34+
35+
- name: Docker stop
36+
run: npm run docker:stop:ci -- --filter=@message-queue-toolkit/kafka

0 commit comments

Comments
 (0)