Skip to content

Commit

Permalink
modifying workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jul 10, 2024
1 parent 62f1a6d commit 25b59d3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://storybook.js.org/docs/vue/writing-tests/test-runner#run-against-non-deployed-storybooks

name: 'Storybook & Testing CI'
name: 'Storybook/Testing'

on:
push:
Expand All @@ -17,7 +17,6 @@ on:

jobs:
build:
name: Build
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -46,7 +45,6 @@ jobs:
path: apps/vue-storybook/storybook_compiled

a11y:
name: Accessibility Tests
needs: build
timeout-minutes: 60
runs-on: ubuntu-latest
Expand Down Expand Up @@ -79,7 +77,6 @@ jobs:
run: pnpm --filter @explorer-1/vue-storybook test:ci

chromatic:
name: Publish
needs: [build]
timeout-minutes: 30
runs-on: ubuntu-latest
Expand All @@ -99,18 +96,18 @@ jobs:
- name: Install dependencies 🧱
run: pnpm i

- name: Download storybook build
uses: actions/download-artifact@v3
with:
name: storybook
path: apps/vue-storybook/storybook_compiled
# - name: Download storybook build
# uses: actions/download-artifact@v3
# with:
# name: storybook
# path: apps/vue-storybook/storybook_compiled

- uses: chromaui/action@latest
# Options required for Chromatic's GitHub Action
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
workingDir: 'apps/vue-storybook/storybook_compiled'
workingDir: 'apps/vue-storybook'
buildScriptName: 'build'
zip: true
exitOnceUploaded: true
2 changes: 1 addition & 1 deletion .github/workflows/vue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- 'packages/vue/**'

jobs:
build-and-deploy:
build-vue:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 25b59d3

Please sign in to comment.