[Web]: Fix mobile view Issues on "recipient selection page" (#966) #2547
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: Shared | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
check_applicability: | |
name: Check applicability | |
runs-on: ubuntu-latest | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
uses: fkirc/skip-duplicate-actions@v5 | |
with: | |
paths: '["shared/**", ".github/workflows/shared.yml"]' | |
skip_after_successful_duplicate: "false" | |
do_not_skip: '["push"]' | |
test: | |
name: Test shared code | |
needs: check_applicability | |
if: needs.check_applicability.outputs.should_skip != 'true' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Initialize repository | |
uses: ./.github/workflows/actions/init | |
- name: Run tests | |
env: | |
TWILIO_SID: ${{ secrets.TWILIO_TEST_SID }} | |
TWILIO_TOKEN: ${{ secrets.TWILIO_TEST_TOKEN }} | |
TWILIO_SENDER_PHONE: ${{ secrets.TWILIO_TEST_SENDER_PHONE }} | |
run: npm run shared:test |