Skip to content

Add Example of Passkey Executing Safe Transaction #698

Add Example of Passkey Executing Safe Transaction

Add Example of Passkey Executing Safe Transaction #698

Workflow file for this run

name: safe-modules-passkey
on:
push:
paths:
- 'modules/passkey/**'
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
- run: |
pnpm install
pnpm run --filter "@safe-global/safe-passkey" coverage
- uses: coverallsapp/github-action@master
with:
path-to-lcov: modules/passkey/coverage/lcov.info
github-token: ${{ secrets.GITHUB_TOKEN }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
- run: |
pnpm install
pnpm run --filter "@safe-global/safe-passkey" lint
pnpm run --filter "@safe-global/safe-passkey" fmt:check
pnpm run --filter "@safe-global/safe-passkey" build
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
- run: |
pnpm install
pnpm run --filter "@safe-global/safe-passkey" test:4337
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
- run: |
pnpm install
pnpm run --filter "@safe-global/safe-passkey" bench