Skip to content

feat(its)!: fix ITS discovery and verify it in js tests #826

feat(its)!: fix ITS discovery and verify it in js tests

feat(its)!: fix ITS discovery and verify it in js tests #826

Workflow file for this run

name: Javascript Tests
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-js:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup tools
uses: ./.github/actions/setup-tools
with:
install-sui: 'true'
install-nodejs: 'true'
- name: Build TS and Move Modules
run: npm run build
- name: Initialize Sui Config
run: echo -e "y\n\n1" | sui client envs
- name: Run Localnet
run: nohup sh -c "RUST_LOG="off,sui_node=info" sui start --with-faucet --force-regenesis" > nohup.out 2> nohup.err < /dev/null &
- name: Sleep for 30 seconds
run: sleep 30s
shell: bash
- name: Test
run: npm run test-js