Skip to content

feat: add build github workflow #1

feat: add build github workflow

feat: add build github workflow #1

Workflow file for this run

name: Build-Test
on: push
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Rust
run: rustup show
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- name: Setup Yarn
uses: Swatinem/setup-yarn@v1
- name: Install Yarn dependencies
run: yarn install
- name: Build Rust binary
run: cargo build --release
- name: Test Rust binary
run: cargo test --release
- name: Build node binary
run: yarn build-release