Skip to content

chore: skip publishing to github packages #8

chore: skip publishing to github packages

chore: skip publishing to github packages #8

Workflow file for this run

name: ci
on: ["push", "pull_request", "workflow_dispatch"]
env:
VERSION: mainnet-v1.3.0
jobs:
test_and_demo:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 18.x
- 19.x
steps:
- uses: actions/checkout@v3
- name: Cache Binaries and move deps
id: cache
uses: actions/cache@v3
with:
path: |
~/.move
~/bin
**/node_modules
key: ${{ runner.os }}-cache-${{ env.VERSION }}
restore-keys: |
${{ runner.os }}-cache-
- run: echo "${HOME}/bin" >> $GITHUB_PATH
- name: install sui bin
run: |
mkdir -p ~/bin
wget https://github.com/MystenLabs/sui/releases/download/${{ env.VERSION }}/sui -O ~/bin/sui
chmod +x ~/bin/sui
if: steps.cache.outputs.cache-hit != 'true'
- name: Install Task
uses: arduino/setup-task@v1
- run: task build
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v2.2.4
with:
version: 8.6.2
- run: pnpm install
- run: KEY_PAIR_SEED=445abec5fb9c88d7ead0a754cda147b5c4b7652bd4b6a8fb88ca14b4eeea786d pnpm demo