diff --git a/.github/workflows/npm-publish-reusable.yml b/.github/workflows/npm-publish-reusable.yml index 61fbb2ed..9ad78eec 100644 --- a/.github/workflows/npm-publish-reusable.yml +++ b/.github/workflows/npm-publish-reusable.yml @@ -15,8 +15,13 @@ jobs: publish: name: Publish ${{ inputs.name }} runs-on: ubuntu-latest - concurrency: ci-${{ github.ref }} + concurrency: ci-${{ github.ref }}-${{ inputs.name }} steps: + # Ensuring that only one PR-environment-creation per branch will run at a time + - name: Mutex setup + uses: ben-z/gh-action-mutex@v1.0-alpha-7 + with: + branch: "mutex/${{ github.event.workflow_run.head_branch }}-publish" - uses: actions/checkout@v4 - name: Setup pnpm uses: pnpm/action-setup@v2.4.0 @@ -30,7 +35,6 @@ jobs: run: pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - run: git pull - name: Changelog id: version-bump uses: Enterwell/ChangelogManager-GitHub-Action@v3 @@ -38,7 +42,7 @@ jobs: changelog-location: ./packages/${{ inputs.name }} should-bump-version: true changes-location: ./packages/${{ inputs.name }}/changes - path-to-project-file: ./packages/${{ inputs.name }}/package.json + path-to-project-file: ./packages/${{ inputs.name }}/package.json\ - name: Commit changelog changes uses: EndBug/add-and-commit@v9.1.3 with: diff --git a/apps/docs/components/ExampleSelectManageable.tsx b/apps/docs/components/ExampleSelectManageable.tsx new file mode 100644 index 00000000..87e40366 --- /dev/null +++ b/apps/docs/components/ExampleSelectManageable.tsx @@ -0,0 +1,40 @@ +import { Select, type SelectItem } from '@enterwell/react-ui'; +import { Add, Edit } from '@mui/icons-material'; +import { Button, IconButton, Typography } from '@mui/material'; +import { Stack, Box } from '@mui/system'; +import { useState } from 'react'; + +export function ExampleSelectManageable() { + const [value, setValue] = useState([]); + + return ( + + {/* // @highlight-start */} +