From 3f3da6001ed409b909ec80478ec8fa392ada67cf Mon Sep 17 00:00:00 2001 From: markuczy <129275100+markuczy@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:46:40 +0100 Subject: [PATCH] feat: add CI and storybook to develop (#622) --- .github/workflows/ci.yml | 7 ++++--- .github/workflows/storybook-build-fork.yml | 12 ++++++------ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96aabed5..3dc4b5aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,12 +2,13 @@ name: build on: push: branches: - - "*" - - "*/*" - - "**" + - '*' + - '*/*' + - '**' pull_request: branches: - main + - develop - v3 jobs: main: diff --git a/.github/workflows/storybook-build-fork.yml b/.github/workflows/storybook-build-fork.yml index 4a08615f..88b94f5f 100644 --- a/.github/workflows/storybook-build-fork.yml +++ b/.github/workflows/storybook-build-fork.yml @@ -1,8 +1,9 @@ name: Build Storybook (Fork) -on: +on: pull_request: - branches: - - 'main' + branches: + - 'main' + - 'develop' jobs: build-storybooks: runs-on: ubuntu-latest @@ -20,6 +21,5 @@ jobs: - name: Upload build artifacts uses: actions/upload-artifact@v4 with: - name: storybook-dist - path: dist/storybook/ - + name: storybook-dist + path: dist/storybook/