diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc3742c..63f02d6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,14 +41,11 @@ jobs: - name: Run tests run: npm run test:ci - - name: Build storybook - run: npm run build-storybook - - name: Build package run: npm run build - name: Archive build artifacts - if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release' || github.ref == 'refs/heads/next' + if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' uses: actions/upload-artifact@v3 with: name: dist @@ -65,6 +62,7 @@ jobs: GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} - uses: actions/download-artifact@v3 + if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' with: name: dist path: dist