fix(scripts): after publishing tx, always return an hex of length 64 chars #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: pull_request | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
arch: [amd64] | |
steps: | |
- name: Setup Dependencies for Sui Binary | |
run: sudo apt-get update && sudo apt-get install -y libpq-dev | |
- name: Download and Install Sui Binary | |
run: | | |
wget https://github.com/MystenLabs/sui/releases/download/mainnet-v1.22.0/sui-mainnet-v1.22.0-ubuntu-x86_64.tgz | |
tar -xvf sui-mainnet-v1.22.0-ubuntu-x86_64.tgz | |
sudo mv ./target/release/sui-test-validator-ubuntu-x86_64 /usr/local/bin/sui-test-validator | |
sudo mv ./target/release/sui-ubuntu-x86_64 /usr/local/bin/sui | |
- name: Cleanup | |
run: rm -rf sui-mainnet-v1.22.0-ubuntu-x86_64.tgz | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Cache node_modules | |
uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Test | |
timeout-minutes: 15 | |
run: npm run test |