Add limel-3d-hover-effect-glow
as a @private
internal component & use it
#10129
This file contains 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: Pull Request Checks | |
on: [pull_request, merge_group] | |
concurrency: | |
# Only allow one active run of this workflow, per PR. | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Read .nvmrc | |
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT | |
id: nvm | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: "${{ steps.nvm.outputs.NVMRC }}" | |
- run: node -v && npm -v | |
- run: npm ci | |
- run: npm run lint:prod | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Read .nvmrc | |
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT | |
id: nvm | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: "${{ steps.nvm.outputs.NVMRC }}" | |
- run: node -v && npm -v | |
- run: npm ci | |
- run: npm run build | |
- run: npm run build # Needed to avoid incremental build quirks | |
- run: npm run api:verify | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Read .nvmrc | |
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT | |
id: nvm | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: "${{ steps.nvm.outputs.NVMRC }}" | |
- run: node -v && npm -v | |
- run: npm ci | |
- run: npm test --if-present | |
commitlint: | |
name: Commitlint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
if: github.actor != 'dependabot[bot]' && github.event_name != 'merge_group' | |
- uses: wagoid/commitlint-github-action@3d28780bbf0365e29b144e272b2121204d5be5f3 # v6.1.2 | |
if: github.actor != 'dependabot[bot]' && github.event_name != 'merge_group' | |
autosquash: | |
name: Block Autosquash Commits | |
runs-on: ubuntu-latest | |
steps: | |
- name: Block Autosquash Commits | |
if: github.event_name != 'merge_group' | |
uses: xt0rted/block-autosquash-commits-action@79880c36b4811fe549cfffe20233df88876024e7 # v2.2.0 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
docs: | |
name: Docs | |
permissions: | |
contents: read | |
pull-requests: write | |
uses: ./.github/workflows/publish-docs.yml | |
with: | |
version: "PR-${{ github.event.pull_request.number }}" | |
linkToPR: true | |
# Only publish docs if the PR comes from a repo owned by Lime. | |
# Also, skip publishing if the PR was created by Dependabot, | |
# or if this is a merge queue run. | |
buildOnly: ${{ github.event.pull_request.head.repo.owner.login != 'Lundalogik' || github.actor == 'dependabot[bot]' || github.event_name == 'merge_group' }} | |
secrets: inherit | |
automerge: | |
needs: [lint, build, test, autosquash, docs] | |
permissions: | |
contents: write | |
pull-requests: write | |
if: github.event.pull_request.head.repo.owner.login == 'Lundalogik' && github.actor == 'dependabot[bot]' && github.event_name != 'merge_group' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Automerge | |
run: "curl -L -X PUT -H \"Accept: application/vnd.github+json\" -H \"Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}\" -H \"X-GitHub-Api-Version: 2022-11-28\" https://api.github.com/repos/Lundalogik/lime-elements/pulls/${{ github.event.pull_request.number }}/merge -d '{\"merge_method\":\"rebase\"}'" |