Skip to content

Commit

Permalink
ci: use react-vite
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN committed Dec 27, 2024
1 parent 96338d0 commit c664cd2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: [18,17,16]
uses: ./.github/workflows/regression.yml
with:
name: react
name: react-vite
version: ${{ matrix.version }}
node: 18

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ on:
description: Stack
options:
- react
- react-vite
- vue
- angular
- svelte
Expand Down
3 changes: 2 additions & 1 deletion src/commands/init/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { App } from 'rete-kit'

export const targets: { stack: App.AppStack, versions: number[] }[] = [
{ stack: 'react', versions: [16, 17, 18] },
{ stack: 'react-vite', versions: [16, 17, 18] },
{ stack: 'vue', versions: [2, 3] },
{ stack: 'angular', versions: [12, 13, 14, 15, 16, 17, 18] },
{ stack: 'svelte', versions: [3, 4] },
Expand All @@ -21,7 +22,7 @@ export const fixtures = targets
export function getFeatures({ stack, version }: Pick<(typeof fixtures)[0], 'stack' | 'version'>, next: boolean) {
return [
stack === 'angular' && new App.Features.Angular(version as 12 | 13 | 14 | 15 | 16 | 17 | 18, next),
stack === 'react' && new App.Features.React(version, stack, next),
['react', 'react-vite'].includes(stack) && new App.Features.React(version, stack, next),
stack === 'vue' && new App.Features.Vue(version as 2 | 3, next),
stack === 'svelte' && new App.Features.Svelte(version as 3 | 4, next),
stack === 'lit-vite' && new App.Features.Lit(version as 3, next),
Expand Down

0 comments on commit c664cd2

Please sign in to comment.