Skip to content

Commit

Permalink
Fix workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecoberly committed Oct 18, 2023
1 parent 612692e commit 24c499a
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ jobs:
path: storybook-static
test_library:
runs-on: ubuntu-latest
needs:
- build_library
- build_storybook
needs: build_storybook
name: Test library
steps:
- name: Checkout code
Expand All @@ -69,8 +67,8 @@ jobs:
- name: Download Storybook build
uses: actions/download-artifact@v3
with:
name: storybook
path: storybook
name: storybook-static
path: storybook-static
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -105,9 +103,7 @@ jobs:
deploy_storybook:
name: Deploy Storybook
runs-on: ubuntu-latest
needs:
- build_storybook
- test_library
needs: test_library
steps:
- name: Download Storybook build
uses: actions/download-artifact@v3
Expand All @@ -125,7 +121,7 @@ jobs:
build_command: echo "Build exists, skipping npm run build"
install_command: echo "Install exists, skipping npm install"
create_release:
name: Create release
name: Create GitHub release
runs-on: ubuntu-latest
needs: test_library
steps:
Expand Down

0 comments on commit 24c499a

Please sign in to comment.