Skip to content

Commit

Permalink
feat: add nuxt/scripts to ecosystem
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jun 14, 2024
1 parent 31abdf3 commit e312270
Show file tree
Hide file tree
Showing 4 changed files with 19 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 @@ -44,6 +44,7 @@ on:
- elk
- devtools
- fonts
- scripts
- cli
- test-utils
- module-builder
Expand Down Expand Up @@ -136,6 +137,7 @@ jobs:
- elk
- devtools
- fonts
- scripts
- cli
- test-utils
- module-builder
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 @@ -49,6 +49,7 @@ on:
- elk
- devtools
- fonts
- scripts
- cli
- test-utils
- module-builder
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 @@ -55,6 +55,7 @@ jobs:
- elk
- devtools
- fonts
- scripts
- cli
- test-utils
- module-builder
Expand Down
15 changes: 15 additions & 0 deletions tests/scripts.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { runInRepo } from '../utils.ts'
import type { RunOptions } from '../types.js'

export async function test(options: RunOptions) {
await runInRepo({
...options,
repo: 'nuxt/scripts',
beforeTest: 'pnpm playwright-core install chromium',
build: ['dev:prepare'],
test: ['test', 'build', 'test:types'],
overrides: {
esbuild: 'latest',
},
})
}

0 comments on commit e312270

Please sign in to comment.