Skip to content

Commit

Permalink
feat: add build github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisht13 committed Sep 2, 2024
1 parent 5de1980 commit 2d94913
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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

0 comments on commit 2d94913

Please sign in to comment.