Skip to content

Commit 2cf9694

Browse files
gioboadominikg
andauthored
feat: add module-federation/vite (#462)
* feat: add module-federation/vite * chore: rename to module-federation, add workflow entries and call build/e2e * test: use integration tests * chore: remove beforeTest * chore: change test scripts --------- Co-authored-by: dominikg <dominik.goepel@gmx.de>
1 parent a0c409d commit 2cf9694

4 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/ecosystem-ci-from-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ on:
4646
# - ladle # disabled until its CI is fixed
4747
- laravel
4848
- marko
49+
- module-federation
4950
- nuxt
5051
- nx
5152
- one
@@ -158,6 +159,7 @@ jobs:
158159
# - ladle # disabled until its CI is fixed
159160
- laravel
160161
- marko
162+
- module-federation
161163
- nuxt
162164
# - nx # disabled temporarily
163165
# - one # disabled until we figured out how to support bun

.github/workflows/ecosystem-ci-selected.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ on:
5757
- ladle
5858
- laravel
5959
- marko
60+
- module-federation
6061
- nuxt
6162
- nx
6263
# - one # disabled until we figured out how to support bun

.github/workflows/ecosystem-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
# - ladle # disabled until its CI is fixed
6161
- laravel
6262
- marko
63+
- module-federation
6364
- nuxt
6465
# - one # disabled until we figured out how to support bun
6566
# - nx # disabled temporarily

tests/module-federation.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { runInRepo } from '../utils.ts'
2+
import type { RunOptions } from '../types.d.ts'
3+
4+
export async function test(options: RunOptions) {
5+
await runInRepo({
6+
...options,
7+
repo: 'module-federation/vite',
8+
build: 'build',
9+
test: ['test', 'test:integration'],
10+
})
11+
}

0 commit comments

Comments
 (0)