From 66750ef77701a6e63e180e92c32cf3911af2ad73 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Mon, 9 Sep 2024 17:15:18 +0200 Subject: [PATCH] feat: activate storybook module tests (#14) --- .github/workflows/ecosystem-ci-from-pr.yml | 2 ++ .github/workflows/ecosystem-ci-selected.yml | 1 + .github/workflows/ecosystem-ci.yml | 1 + tests/storybook.ts | 2 +- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index a31e4981..cac68a0e 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -66,6 +66,7 @@ on: - sitemap - i18n-module - werewolves-assistant + - storybook jobs: init: runs-on: ubuntu-latest @@ -161,6 +162,7 @@ jobs: - sitemap - i18n-module - werewolves-assistant + - storybook fail-fast: false steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index 5516d083..6ca8dccf 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -71,6 +71,7 @@ on: - sitemap - i18n-module - werewolves-assistant + - storybook jobs: execute-selected-suite: timeout-minutes: 30 diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index 41f0e422..ac16f957 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -77,6 +77,7 @@ jobs: - sitemap - i18n-module - werewolves-assistant + - storybook fail-fast: false steps: - uses: actions/checkout@v4 diff --git a/tests/storybook.ts b/tests/storybook.ts index 063b5598..91aa8382 100644 --- a/tests/storybook.ts +++ b/tests/storybook.ts @@ -5,7 +5,7 @@ export async function test(options: RunOptions) { await runInRepo({ ...options, repo: 'nuxt-modules/storybook', - build: ['dev:prepare', 'build'], + build: ['dev:prepare', 'build', 'dev:build', 'example:showcase:build'], test: ['test'], }) }