Skip to content

Aleph Zero Wallets added #24

Aleph Zero Wallets added

Aleph Zero Wallets added #24

Workflow file for this run

# .github main.yml
# Check prettier formatting
# Perform ESLint check
# Build the project
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Update @solana-mobile/wallet-adapter-mobile package.json
run: |
# Install jq if not already available
sudo apt-get update && sudo apt-get install -y jq
# Navigate to the package directory
cd packages/solana-react/node_modules/@solana-mobile/wallet-adapter-mobile
# Use jq to update the package.json file
jq '.exports["."].types = "./lib/types/index.d.ts"' package.json > temp.json && mv temp.json package.json
# Verify the change
grep -A 3 '"exports":' package.json
- name: Check linting
run: pnpm run lint
- name: Build packages
run: pnpm run build
- name: Build example
run: pnpm run build:example
- name: Check formatting
run: pnpm run format