Skip to content

chore: test batch 1 #29

chore: test batch 1

chore: test batch 1 #29

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:

Check failure on line 15 in .github/workflows/node.js.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/node.js.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
# env:
# # ROOCH_ORACLE_ADDRESS= ${{ secrets.ROOCH_ORACLE_ADDRESS }}
# # ROOCH_PRIVATE_KEY= ${{ secrets.ROOCH_PRIVATE_KEY }}
strategy:
matrix:
node-version: [20.x]
steps:
- name: Use Node.js ${{ matrix.node-version }} 🛎️
uses: actions/checkout@v3
with:
node-version: ${{ matrix.node-version }}
persist-credentials: false
- name: Install 🔧 dependencies
run: npx yarn install
- name: build
run: npx yarn build
# Set up Rust
- uses: actions/setup-rust@v1
with:
toolchain: stable
- 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/
# Run tests
- run: rooch move test
- run: cargo test