Skip to content

Commit

Permalink
Merge branch 'main' into 2.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineRelief committed Sep 20, 2023
2 parents 8fb2564 + e571e0d commit e8c7575
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 78 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
- main
- next
- next-major
- beta
- alpha
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -24,6 +23,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check branch
run: |
VALID_BRANCHES=("main" "next" "next-major" "beta" "alpha")
BRANCH_NAME=$(basename ${{ github.ref }})
if [[ ! " ${VALID_BRANCHES[@]} " =~ " ${BRANCH_NAME} " ]]; then
echo "Invalid branch name: $BRANCH_NAME"
echo "Valid branch names are: ${VALID_BRANCHES[@]}"
exit 1
fi
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down
76 changes: 0 additions & 76 deletions .github/workflows/storybook.yml

This file was deleted.

0 comments on commit e8c7575

Please sign in to comment.