Skip to content

Commit

Permalink
feat: add test suite for nuxt/nuxt.com (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Oct 18, 2023
1 parent 1c0c33b commit e6401c9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ on:
- examples
- bridge
- nuxt-vitest
- nuxt-com
- vite-pwa
- docus
- og-image
Expand Down Expand Up @@ -114,6 +115,7 @@ jobs:
- examples
- bridge
- nuxt-vitest
- nuxt-com
- vite-pwa
- docus
- og-image
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 @@ -42,6 +42,7 @@ on:
- examples
- bridge
- nuxt-vitest
- nuxt-com
- vite-pwa
- docus
- og-image
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 @@ -48,6 +48,7 @@ jobs:
- examples
- bridge
- nuxt-vitest
- nuxt-com
- vite-pwa
- docus
- og-image
Expand Down
11 changes: 11 additions & 0 deletions tests/nuxt-com.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { runInRepo } from '../utils'
import { RunOptions } from '../types'

export async function test(options: RunOptions) {
await runInRepo({
...options,
repo: 'nuxt/nuxt.com',
build: ['pnpm nuxi prepare'],
test: ['test'],
})
}

0 comments on commit e6401c9

Please sign in to comment.