Skip to content

feat(ClickOutsideListener): refactor and allow for ref targets #997

feat(ClickOutsideListener): refactor and allow for ref targets

feat(ClickOutsideListener): refactor and allow for ref targets #997

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- develop
- master
workflow_call:
jobs:
react:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/dependencies
with:
root: false
packages-react: true
packages-styles: true
- name: Build packages
run: |
NODE_ENV=production yarn --cwd packages/react build
- run: yarn test
screenshots:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/dependencies
with:
root: true
packages-react: true
packages-styles: true
- name: Build packages
run: |
NODE_ENV=production yarn --cwd packages/react build
NODE_ENV=production yarn --cwd packages/styles build
- name: Screenshot testing
run: |
yarn screenshots:docker
yarn screenshots
- name: Screenshot test results
uses: actions/upload-artifact@v4
if: failure()
with:
name: screenshot-test-results
path: ./e2e/test-results
retention-days: 14
a11y:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/dependencies
with:
packages-react: true
packages-styles: true
- name: Build packages
run: |
NODE_ENV=production yarn --cwd packages/react build
NODE_ENV=production yarn --cwd packages/styles build
- run: yarn build:docs
- run: yarn test:a11y