Skip to content

chore: improvements #678

chore: improvements

chore: improvements #678

name: API Kit - E2E Tests
on:
pull_request:
push:
branches:
- main
- development
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Yarn install
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Make testing-kit.js executable
run: chmod +x packages/testing-kit/dist/bin/testing-kit.js
- name: Add script directory to PATH
run: echo "$(pwd)/packages/testing-kit/dist/bin" >> $GITHUB_PATH
- name: Test
run: |
cd packages/api-kit
yarn test:ci:ethers
yarn test:ci:web3
yarn test:ci:viem