From 24c499a61709a0b153f81833e3b115609a7694af Mon Sep 17 00:00:00 2001 From: Kyle Coberly Date: Wed, 18 Oct 2023 03:22:13 -0600 Subject: [PATCH] Fix workflow file --- .github/workflows/main.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 27f4184..8333071 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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: @@ -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 @@ -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: