Skip to content

refactor: turnkey from ethers to viem #106

refactor: turnkey from ethers to viem

refactor: turnkey from ethers to viem #106

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@v1
with:
node-version: "18.13"
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Use commitlint to check PR title
run: echo "${{ github.event.pull_request.title }}" | yarn commitlint
build_and_lint_and_test:
name: Lint and Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: "18.13"
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint:check
- name: Build
run: yarn build
- name: E2E tests
env:
API_URL: ${{ secrets.API_URL }}
API_KEY: ${{ secrets.API_KEY }}
TEAM_ID: ${{ secrets.TEAM_ID }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
run: yarn test:e2e
# - name: Unit Test
# run: yarn test