Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
os: ubuntu-latest
- suite: examples
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
- suite: lynx-stack
os: ubuntu-latest
fail-fast: false
Expand Down Expand Up @@ -59,6 +61,8 @@ jobs:
os: ubuntu-latest
- suite: modernjs
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
- suite: lynx-stack
os: ubuntu-latest
fail-fast: false
Expand Down Expand Up @@ -96,6 +100,8 @@ jobs:
os: ubuntu-latest
- suite: modernjs
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
fail-fast: false
runs-on: ${{ matrix.os }}
name: rstest (${{ matrix.suite }})
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rsbuild-ecosystem-ci-from-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ on:
- plugins
- modernjs
- examples
- rstack-cli
- lynx-stack
suiteRefType:
description: 'type of suite ref to use'
Expand Down Expand Up @@ -104,6 +105,8 @@ jobs:
os: ubuntu-latest
- suite: examples
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
- suite: lynx-stack
os: ubuntu-latest
fail-fast: false
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rsbuild-ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ on:
- plugins
- modernjs
- examples
- rstack-cli
- lynx-stack
suiteRefType:
description: 'type of suite ref to use'
Expand Down Expand Up @@ -104,6 +105,8 @@ jobs:
os: ubuntu-latest
- suite: examples
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
- suite: lynx-stack
os: ubuntu-latest
fail-fast: false
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rsbuild-ecosystem-ci-selected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ on:
- plugins
- modernjs
- examples
- rstack-cli
- lynx-stack
suiteRefType:
description: 'type of suite ref to use'
Expand Down Expand Up @@ -110,6 +111,8 @@ jobs:
os: ubuntu-latest
- suite: examples
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
Comment thread
chenjiahan marked this conversation as resolved.
- suite: lynx-stack
os: ubuntu-latest
fail-fast: false
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rslib-ecosystem-ci-from-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ on:
- rspress
- rsdoctor
- modernjs
- rstack-cli
- lynx-stack
suiteRefType:
description: 'type of suite ref to use'
Expand Down Expand Up @@ -104,6 +105,8 @@ jobs:
os: ubuntu-latest
- suite: modernjs
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
- suite: lynx-stack
os: ubuntu-latest
fail-fast: false
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rslib-ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ on:
- rspress
- rsdoctor
- modernjs
- rstack-cli
- lynx-stack
suiteRefType:
description: 'type of suite ref to use'
Expand Down Expand Up @@ -104,6 +105,8 @@ jobs:
os: ubuntu-latest
- suite: modernjs
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
- suite: lynx-stack
os: ubuntu-latest
fail-fast: false
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rslib-ecosystem-ci-selected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ on:
- rspress
- rsdoctor
- modernjs
- rstack-cli
- lynx-stack
suiteRefType:
description: 'type of suite ref to use'
Expand Down Expand Up @@ -110,6 +111,8 @@ jobs:
os: ubuntu-latest
- suite: modernjs
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
- suite: lynx-stack
os: ubuntu-latest
fail-fast: false
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rspress-ecosystem-ci-from-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ on:
- rslib
- rspack
- rstest
- rstack-cli
suiteRefType:
description: 'type of suite ref to use'
required: true
Expand Down Expand Up @@ -100,6 +101,8 @@ jobs:
os: ubuntu-latest
- suite: rstest
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
fail-fast: false
runs-on: ${{ matrix.os }}
name: execute-all (${{ matrix.suite }})
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rspress-ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ on:
- rslib
- rspack
- rstest
- rstack-cli
suiteRefType:
description: 'type of suite ref to use'
required: true
Expand Down Expand Up @@ -97,6 +98,8 @@ jobs:
os: ubuntu-latest
- suite: rstest
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
fail-fast: false
runs-on: ${{ matrix.os }}
name: execute-all (${{ matrix.suite }})
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rspress-ecosystem-ci-selected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ on:
- rslib
- rspack
- rstest
- rstack-cli
suiteRefType:
description: 'type of suite ref to use'
required: true
Expand Down Expand Up @@ -103,6 +104,8 @@ jobs:
os: ubuntu-latest
- suite: rstest
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
fail-fast: false
runs-on: ${{ matrix.os }}
name: execute-all (${{ matrix.suite }})
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rstest-ecosystem-ci-from-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ on:
- rsdoctor
- modernjs
- examples
- rstack-cli
suiteRefType:
description: 'type of suite ref to use'
required: true
Expand Down Expand Up @@ -106,6 +107,8 @@ jobs:
os: ubuntu-latest
- suite: examples
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
fail-fast: false
runs-on: ${{ matrix.os }}
name: execute-all (${{ matrix.suite }})
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rstest-ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ on:
- rsdoctor
- modernjs
- examples
- rstack-cli
suiteRefType:
description: 'type of suite ref to use'
required: true
Expand Down Expand Up @@ -103,6 +104,8 @@ jobs:
os: ubuntu-latest
- suite: examples
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
fail-fast: false
runs-on: ${{ matrix.os }}
name: execute-all (${{ matrix.suite }})
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rstest-ecosystem-ci-selected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ on:
- rsdoctor
- modernjs
- examples
- rstack-cli
suiteRefType:
description: 'type of suite ref to use'
required: true
Expand Down Expand Up @@ -112,6 +113,8 @@ jobs:
os: ubuntu-latest
- suite: examples
os: ubuntu-latest
- suite: rstack-cli
os: ubuntu-latest
fail-fast: false
runs-on: ${{ matrix.os }}
name: execute-all (${{ matrix.suite }})
Expand Down
1 change: 1 addition & 0 deletions tests/rsbuild/rstack-cli.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { test } from '../shared/rstack-cli';
1 change: 1 addition & 0 deletions tests/rslib/rstack-cli.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { test } from '../shared/rstack-cli';
15 changes: 15 additions & 0 deletions tests/rspress/rstack-cli.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { RunOptions } from '../../types';
import { cd, runInRepo } from '../../utils';

export async function test(options: RunOptions) {
await runInRepo({
...options,
repo: 'rstackjs/rstack-cli',
branch: process.env.RSTACK_CLI_REF ?? 'main',
build: 'node --run build',
beforeTest: async () => {
cd('./website');
},
test: ['build'],
});
}
1 change: 1 addition & 0 deletions tests/rstest/rstack-cli.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { test } from '../shared/rstack-cli';
13 changes: 13 additions & 0 deletions tests/shared/rstack-cli.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import type { RunOptions } from '../../types';
import { runInRepo } from '../../utils';

export async function test(options: RunOptions) {
await runInRepo({
...options,
repo: 'rstackjs/rstack-cli',
branch: process.env.RSTACK_CLI_REF ?? 'main',
build: 'node --run build',
beforeTest: 'pnpm --filter rstack build:native:ci',
test: ['test'],
});
}
Loading