fix: fixes "Safari is throwing Document not focused on register #5" #16
This file contains 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: odd-passkeys | |
env: | |
CI: true | |
FORCE_COLOR: 1 | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'packages/odd-passkeys/**' | |
- '.github/workflows/odd-passkeys.yml' | |
- 'pnpm-lock.yaml' | |
pull_request: | |
paths: | |
- 'packages/odd-passkeys/**' | |
- '.github/workflows/odd-passkeys.yml' | |
- 'pnpm-lock.yaml' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm -r --filter @oddjs/passkeys run lint | |
- run: pnpm -r --filter @oddjs/passkeys run test | |
- run: pnpm -r --filter @oddjs/passkeys exec depcheck |