Skip to content

Commit

Permalink
chore: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xlassix committed Aug 30, 2024
1 parent 2243fa2 commit e6cb4bd
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,23 @@ jobs:
node-version: [20.x]

steps:
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy

- name: Clone and setup Rooch
run: |
git clone https://github.com/rooch-network/rooch.git _rooch
cd _rooch
cargo build
cp target/debug/rooch ~/.cargo/bin/
cd rooch
rooch move test
- name: Use Node.js ${{ matrix.node-version }} 🛎️
uses: actions/checkout@v3
with:
Expand All @@ -34,14 +51,5 @@ jobs:
- name: build
run: npx yarn build



- name: Clone and setup Rooch
run: |
git clone https://github.com/rooch-network/rooch.git _rooch
cd _rooch
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
cargo build
cp target/debug/rooch ~/.cargo/bin/
cd rooch
rooch move test

0 comments on commit e6cb4bd

Please sign in to comment.