Skip to content

Commit

Permalink
updating workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jul 10, 2024
1 parent 36474b2 commit 739d1d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
- name: Serve Storybook & Run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"pnpm --filter @explorer-1/vue-storybook test:storybook:ci:start" \
"pnpm --filter @explorer-1/vue-storybook test:storybook:ci"
"pnpm --filter @explorer-1/vue-storybook start" \
"pnpm --filter @explorer-1/vue-storybook test:ci"
publish-to-chromatic:
needs: [build, a11y-tests]
Expand All @@ -86,6 +86,8 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v4
Expand Down
9 changes: 3 additions & 6 deletions apps/vue-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@
"lint:fix": "eslint './../../packages/vue/src/**/*.stories.@(js|ts|mdx)' --fix && pnpm lint:app:fix",
"init-msw": "msw init public/",
"start": "http-server storybook_compiled -p 6006 -c-1 -s",
"test": "pnpm test:storybook",
"test:ci": "pnpm run \"/test:storybook:ci/\"",
"test:storybook": "test-storybook --stories-json --maxWorkers=4",
"test:storybook:cross-browser": "test-storybook --stories-json --verbose --maxWorkers=4 --browsers chromium webkit firefox",
"test:storybook:ci:start": "pnpm start",
"test:storybook:ci": "test-storybook --stories-json --maxWorkers=2"
"test": "test-storybook --stories-json --maxWorkers=4",
"test:cross-browser": "test-storybook --stories-json --verbose --maxWorkers=4 --browsers chromium webkit firefox",
"test:ci": "test-storybook --stories-json --maxWorkers=4"
},
"dependencies": {
"@explorer-1/common": "workspace:*",
Expand Down

0 comments on commit 739d1d0

Please sign in to comment.