Skip to content

test(blade): add phone number input tests #7261

test(blade): add phone number input tests

test(blade): add phone number input tests #7261

Workflow file for this run

name: Blade Validate
on: [pull_request]
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
jobs:
validate:
name: Validate Source Code
runs-on: ubuntu-latest # nosemgrep: non-self-hosted-runner
steps:
- name: Checkout Codebase
uses: actions/checkout@v3
- name: Use Node v18
uses: actions/setup-node@v3
with:
node-version: 18.12.1
# https://stackoverflow.com/a/73824182
registry-url: "https://npm.pkg.github.com"
- name: Setup Cache & Install Dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/actions/install-dependencies
- name: Build Blade
run: yarn build
working-directory: packages/blade
- name: Lint Source Code
run: yarn lint
- name: Run TypeScript Checks
run: yarn typecheck
working-directory: packages/blade
test:
name: Run Tests (${{ matrix.shard }})
runs-on: ubuntu-latest # nosemgrep: non-self-hosted-runner
strategy:
fail-fast: false
matrix:
shard: [1/4, 2/4, 3/4, 4/4]
steps:
- name: Checkout Codebase
uses: actions/checkout@v3
- name: Use Node v18
uses: actions/setup-node@v3
with:
node-version: 18.12.1
# https://stackoverflow.com/a/73824182
registry-url: "https://npm.pkg.github.com"
- name: Setup Cache & Install Dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/actions/install-dependencies
- name: Run Unit Tests
run: yarn test
working-directory: packages/blade
env:
SHARD: ${{ matrix.shard }}