Skip to content

feat: add support for adding a passkey on signup #2781

feat: add support for adding a passkey on signup

feat: add support for adding a passkey on signup #2781

Workflow file for this run

name: Run checks on Pull Requests
on:
pull_request:
jobs:
enforce_title:
name: Enforce PR Title Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Use commitlint to check PR title
env:
TITLE: ${{ github.event.pull_request.title }}
run: echo "$TITLE" | yarn commitlint
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.ALCHEMY_BOT_PAT }}
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.ALCHEMY_BOT_PAT }}
fetch-depth: "0"
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest
- name: Run eslint with reviewdog
run: |
npx --no-install -c "eslint -f=rdjson ." | reviewdog -f=rdjson -reporter=github-pr-review -filter-mode=added -tee
build_and_lint_and_test:
name: Build and Test
runs-on: ubuntu-latest
env:
API_KEY: ${{ secrets.API_KEY }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: "0"
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
env:
API_KEY: ${{ secrets.API_KEY }}
run: yarn build
- name: Unit Test
run: yarn test