From e58375973fe591ff507ff9abcac575cdef4ccbec Mon Sep 17 00:00:00 2001 From: Stephanie Smith Date: Wed, 10 Jul 2024 12:50:34 -0700 Subject: [PATCH] modifying workflows --- .github/workflows/storybook.yml | 12 ++++++------ .github/workflows/vue.yml | 2 +- apps/vue-storybook/chromatic.config.json | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index b2d086fc..ba1b4426 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -1,6 +1,6 @@ # https://storybook.js.org/docs/vue/writing-tests/test-runner#run-against-non-deployed-storybooks -name: 'Storybook/Testing' +name: 'Storybook' on: push: @@ -16,7 +16,7 @@ on: - 'packages/vue/**' jobs: - build: + build-storybook: timeout-minutes: 60 runs-on: ubuntu-latest steps: @@ -44,8 +44,8 @@ jobs: name: storybook path: apps/vue-storybook/storybook_compiled - a11y: - needs: build + a11y-tests: + needs: build-storybook timeout-minutes: 60 runs-on: ubuntu-latest steps: @@ -76,8 +76,8 @@ jobs: - name: Serve Storybook and run tests run: pnpm --filter @explorer-1/vue-storybook test:ci - chromatic: - needs: [build] + publish-to-chromatic: + needs: [build-storybook] timeout-minutes: 30 runs-on: ubuntu-latest steps: diff --git a/.github/workflows/vue.yml b/.github/workflows/vue.yml index bd6249b2..3112d884 100644 --- a/.github/workflows/vue.yml +++ b/.github/workflows/vue.yml @@ -1,6 +1,6 @@ # checks if vue package builds successfully -name: Build Vue Library +name: Vue on: push: diff --git a/apps/vue-storybook/chromatic.config.json b/apps/vue-storybook/chromatic.config.json index 88e1c177..31f27fcb 100644 --- a/apps/vue-storybook/chromatic.config.json +++ b/apps/vue-storybook/chromatic.config.json @@ -1,6 +1,6 @@ { + "buildScript": "build", "projectId": "Project:668c47cbeb95392cd79c3c0d", - "workingDir": "apps/vue-storybook", - "buildScriptName": "build", + "storybookBaseDir": "apps/vue-storybook", "zip": true }