Skip to content

Commit

Permalink
feat: add vite-environment-examples (#318)
Browse files Browse the repository at this point in the history
* feat: add vite-environment-examples

* chore: update ci

* chore: sort
  • Loading branch information
hi-ogawa authored Jul 19, 2024
1 parent 1c329c4 commit dc15311
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ on:
- sveltekit
- unocss
- vike
- vite-environment-examples
- vite-plugin-pwa
- vite-plugin-react
- vite-plugin-react-pages
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ecosystem-ci-selected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ on:
- sveltekit
- unocss
- vike
- vite-environment-examples
- vite-plugin-pwa
- vite-plugin-react
- vite-plugin-react-pages
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ecosystem-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
- sveltekit
- unocss
- vike
- vite-environment-examples
- vite-plugin-pwa
- vite-plugin-react
- vite-plugin-react-pages
Expand Down
16 changes: 16 additions & 0 deletions tests/vite-environment-examples.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { runInRepo } from '../utils.ts'
import type { RunOptions } from '../types.d.ts'

export async function test(options: RunOptions) {
if (options.viteMajor < 6) {
return
}
await runInRepo({
...options,
repo: 'hi-ogawa/vite-environment-examples',
branch: 'main',
build: 'vite-ecosystem-ci:build',
beforeTest: 'vite-ecosystem-ci:before-test',
test: 'vite-ecosystem-ci:test',
})
}

0 comments on commit dc15311

Please sign in to comment.