Skip to content

add data-testid to toggle-switch component #200

add data-testid to toggle-switch component

add data-testid to toggle-switch component #200

Workflow file for this run

name: 'Continuous Integration'
on:
pull_request:
permissions:
contents: write
packages: write
actions: read
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Verify
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
with:
comment_on_pr: false
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Node modules cache
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install dependencies
run: yarn install --immutable --inline-builds
- name: Validate PR commits with commitlint
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
- name: Format
run: yarn format-check
- name: Lint
run: yarn lint
- name: Typecheck
run: yarn type-check
- name: Chromatic
uses: ./.github/actions/chromatic
with:
TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}