Skip to content

solana: Client-side rebroadcast logic (#2153) #6

solana: Client-side rebroadcast logic (#2153)

solana: Client-side rebroadcast logic (#2153) #6

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- development
- staging
- production
- mainnet
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run lint:ci
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run build -w sdk
- run: npm test -w wormhole-connect
env:
REACT_APP_SOLANA_RPC: ${{ vars.REACT_APP_SOLANA_RPC }}
check-sdn-list:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run script
run: cd wormhole-connect && npm i prettier && npm run checksdn
check-token-list:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run build -w sdk
- run: cd wormhole-connect && npx tsx scripts/checkForeignAssetsConfig.ts
build-hosted:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run build:hosted
build-library:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run build:lib