Skip to content

PE-6052 -- feat(web): implement walletAdapter for SOL and ETH web signing support #761

PE-6052 -- feat(web): implement walletAdapter for SOL and ETH web signing support

PE-6052 -- feat(web): implement walletAdapter for SOL and ETH web signing support #761

Workflow file for this run

name: Build and Test
on:
pull_request:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [18.x, 20.x]
command: ['lint', 'format', 'build']
steps:
- uses: actions/checkout@v4
- name: Set Up node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: 'yarn'
- name: Install dependencies
run: yarn --immutable --immutable-cache
- name: Run ${{ matrix.command }}
run: yarn ${{ matrix.command }}
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- name: Set Up node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'yarn'
- name: Install dependencies
run: yarn --immutable --immutable-cache
- name: Log in to the GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run integration tests
run: yarn test:docker
env:
STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}