Skip to content

Commit 3c45465

Browse files
ci: one workflow per workspace (3)
1 parent ab4b34f commit 3c45465

7 files changed

Lines changed: 68 additions & 11 deletions

.github/workflows/ci-socket.io-adapter.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,15 @@ jobs:
3636
- name: Compile package
3737
run: npm run compile --workspace=socket.io-adapter
3838

39+
- name: Compile dev dependencies
40+
run: |
41+
npm run compile \
42+
--workspace=engine.io-parser \
43+
--workspace=engine.io-client \
44+
--workspace=engine.io \
45+
--workspace=socket.io-parser \
46+
--workspace=socket.io-client \
47+
--workspace=socket.io
48+
3949
- name: Run tests
4050
run: npm test --workspace=socket.io-adapter

.github/workflows/ci-socket.io-client.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
run: |
6262
npm run compile \
6363
--workspace=engine.io \
64+
--workspace=socket.io-adapter \
6465
--workspace=socket.io
6566
6667
- name: Run tests

.github/workflows/ci-socket.io-cluster-adapter.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI (socket.io-cluster-adapter)
1+
name: CI (@socket.io/cluster-adapter)
22

33
on:
44
push:
@@ -33,8 +33,23 @@ jobs:
3333
- name: Install dependencies
3434
run: npm ci
3535

36+
- name: Compile dependencies
37+
run: |
38+
npm run compile \
39+
--workspace=socket.io-adapter
40+
3641
- name: Compile package
37-
run: npm run compile --workspace=socket.io-cluster-adapter
42+
run: npm run compile --workspace=@socket.io/cluster-adapter
43+
44+
- name: Compile dev dependencies
45+
run: |
46+
npm run compile \
47+
--workspace=engine.io-parser \
48+
--workspace=engine.io-client \
49+
--workspace=engine.io \
50+
--workspace=socket.io-parser \
51+
--workspace=socket.io-client \
52+
--workspace=socket.io
3853
3954
- name: Run tests
40-
run: npm test --workspace=socket.io-cluster-adapter
55+
run: npm test --workspace=@socket.io/cluster-adapter

.github/workflows/ci-socket.io-cluster-engine.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI (socket.io-cluster-engine)
1+
name: CI (@socket.io/cluster-engine)
22

33
on:
44
push:
@@ -40,11 +40,20 @@ jobs:
4040
- name: Compile dependencies
4141
run: |
4242
npm run compile \
43-
--workspace=engine.io \
44-
--workspace=engine.io-parser
43+
--workspace=engine.io-parser \
44+
--workspace=engine.io
4545
4646
- name: Compile package
47-
run: npm run compile --workspace=socket.io-cluster-engine
47+
run: npm run compile --workspace=@socket.io/cluster-engine
48+
49+
- name: Compile dev dependencies
50+
run: |
51+
npm run compile \
52+
--workspace=engine.io-client \
53+
--workspace=socket.io-parser \
54+
--workspace=socket.io-client \
55+
--workspace=socket.io-adapter \
56+
--workspace=socket.io
4857
4958
- name: Run tests
50-
run: npm test --workspace=socket.io-cluster-engine
59+
run: npm test --workspace=@socket.io/cluster-engine

.github/workflows/ci-socket.io-component-emitter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
run: npm ci
3535

3636
- name: Run tests
37-
run: npm test --workspace=socket.io-component-emitter
37+
run: npm test --workspace=@socket.io/component-emitter

.github/workflows/ci-socket.io-postgres-emitter.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,16 @@ jobs:
4949
- name: Compile package
5050
run: npm run compile --workspace=socket.io-postgres-emitter
5151

52+
- name: Compile dev dependencies
53+
run: |
54+
npm run compile \
55+
--workspace=engine.io-parser \
56+
--workspace=engine.io-client \
57+
--workspace=engine.io \
58+
--workspace=socket.io-parser \
59+
--workspace=socket.io-client \
60+
--workspace=socket.io-adapter \
61+
--workspace=socket.io
62+
5263
- name: Run tests
5364
run: npm test --workspace=@socket.io/postgres-emitter

.github/workflows/ci-socket.io-redis-streams-emitter.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI (socket.io-redis-streams-emitter)
1+
name: CI (@socket.io/redis-streams-emitter)
22

33
on:
44
push:
@@ -45,7 +45,18 @@ jobs:
4545
run: npm ci
4646

4747
- name: Compile package
48-
run: npm run compile --workspace=socket.io-redis-streams-emitter
48+
run: npm run compile --workspace=@socket.io/redis-streams-emitter
49+
50+
- name: Compile dev dependencies
51+
run: |
52+
npm run compile \
53+
--workspace=engine.io-parser \
54+
--workspace=engine.io-client \
55+
--workspace=engine.io \
56+
--workspace=socket.io-parser \
57+
--workspace=socket.io-client \
58+
--workspace=socket.io-adapter \
59+
--workspace=socket.io
4960
5061
- name: Run tests
5162
run: npm test --workspace=@socket.io/redis-streams-emitter

0 commit comments

Comments
 (0)