Skip to content

[DRAFT!] use try...catch on userConnected event + bump mysten packages #452

[DRAFT!] use try...catch on userConnected event + bump mysten packages

[DRAFT!] use try...catch on userConnected event + bump mysten packages #452

name: connect-test-local.yml
on:
push:
branches:
- master
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
install:
timeout-minutes: 10
runs-on: [testing]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: pnpm/action-setup@v2
name: Install pnpm
continue-on-error: true
id: pnpm-install
with:
version: 8
run_install: false
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions/cache@v2
name: Cache Cargo registry + index
id: cache-rust
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: cargo-${{ runner.os }}-v0000-${{ hashFiles('**/Cargo.lock') }}
- name: install packages
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: |
pnpm install
working-directory: ./sdk
- name: run cargo test
run: |
cargo test
cargo run &
- name: test base local
run: |
pnpm test:ci
working-directory: ./sdk/apps/base
- name: test solana local
run: |
pnpm test:ci
working-directory: ./sdk/apps/solana
- name: test sui local
run: |
pnpm test:ci
working-directory: ./sdk/apps/sui