This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
Use overloads to detect account hoisting for viem wallets #263
Workflow file for this run
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: CI Pipeline | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Checkout erc-4337-devnet | |
uses: actions/checkout@v3 | |
with: | |
repository: stackup-wallet/erc-4337-devnet | |
path: ./erc-4337-devnet | |
- name: Deploy ERC-4337 devnet | |
working-directory: ./erc-4337-devnet | |
run: docker-compose up -d --build | |
- name: Test | |
run: make -C ./erc-4337-devnet wait && yarn run test | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Lint | |
run: yarn run lint | |
- name: Format | |
run: yarn run prettier |