feat(design-system): add autocomplete [AR-38986] #279
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - labeled | |
| - unlabeled | |
| - edited | |
| - synchronize | |
| branches: | |
| - main | |
| permissions: {} | |
| concurrency: | |
| group: '${{ github.workflow }} - Changeset @ ${{ github.event.pull_request.number }}' | |
| cancel-in-progress: true | |
| jobs: | |
| require-changeset: | |
| name: Require Changeset | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| # Skip opted out PRs, and release PRs | |
| if: | | |
| ! contains(github.event.pull_request.labels.*.name, 'skip changelog') && | |
| ! (github.event.pull_request.title == 'chore(release): publish' && github.event.pull_request.user.login == 'github-actions[bot]') | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 | |
| - name: Install Node.js | |
| uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: 'pnpm' | |
| - name: Install Dependencies | |
| run: pnpm i | |
| # Returns exit code 1 when there are changes without changesets attached to them. | |
| # See: https://github.com/changesets/changesets/blob/main/docs/automating-changesets.md#blocking | |
| - name: Run Changesets | |
| run: pnpm changeset status --since origin/main | |
| disallow-major-release: | |
| name: Disallow Major Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| # Skip release PRs | |
| if: | | |
| ! (github.event.pull_request.title == 'chore(release): publish' && github.event.pull_request.user.login == 'github-actions[bot]') | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 | |
| - name: Install Node.js | |
| uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: 'pnpm' | |
| - name: Install Dependencies | |
| run: pnpm i | |
| - name: Check for Major Changeset | |
| run: | | |
| pnpm changeset status --since origin/main --output=./.changeset-status.json &> /dev/null || true | |
| if [ -f ./.changeset-status.json ]; then | |
| node .github/scripts/check-major-version.ts ./.changeset-status.json | |
| fi |