feat(cypress): add button role support to clickButton() #4784
Workflow file for this run
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: Check | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
jobs: | |
lint: | |
name: Lint | |
if: ${{ !startsWith(github.head_ref, 'ci-release-v') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 100 | |
- name: Setup | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Lint commits (last 100) | |
run: yarn commitlint --from HEAD~49 --to HEAD -V | |
- name: Lint code | |
run: yarn test:lint | |
type: | |
name: Type | |
if: ${{ !startsWith(github.head_ref, 'ci-release-v') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Type | |
run: yarn test:type | |
test_unit: | |
name: Unit Test | |
if: ${{ !startsWith(github.head_ref, 'ci-release-v') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Test | |
run: yarn test:unit --coverage | |
- name: Upload coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
flags: unit | |
token: ${{ secrets.CODECOV_TOKEN }} |