Skip to content

Commit f182a61

Browse files
authored
Update node.yml
1 parent e4fd122 commit f182a61

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/node.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19-
# Setup Node.js primero para resolver conflictos de versión
2019
- name: Setup Node.js
2120
uses: actions/setup-node@v4
2221
with:
@@ -33,12 +32,11 @@ jobs:
3332
target/
3433
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3534

36-
# Setup Rust toolchain
3735
- name: Setup Rust
3836
run: |
3937
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
4038
source $HOME/.cargo/env
41-
rustup target add wasm32v1-none
39+
rustup target add wasm32-unknown-unknown
4240
4341
- name: Start Stellar Quickstart
4442
uses: stellar/quickstart@main
@@ -48,14 +46,23 @@ jobs:
4846

4947
- run: sudo apt-get update && sudo apt-get install -y libudev-dev libdbus-1-dev pkg-config
5048

51-
- name: Install Stellar CLI tools
49+
- name: Install Stellar CLI
50+
run: |
51+
source $HOME/.cargo/env
52+
# Instalar stellar CLI desde el repositorio oficial
53+
cargo install --git https://github.com/stellar/stellar-cli --branch main stellar-cli
54+
55+
- name: Install stellar-scaffold-cli
5256
run: |
5357
source $HOME/.cargo/env
54-
# Instalar stellar-cli desde crates.io
55-
cargo install stellar-cli --version 0.8.0
56-
# Instalar stellar-scaffold si es necesario
5758
cargo install stellar-scaffold-cli
5859
60+
- name: Verify installations
61+
run: |
62+
source $HOME/.cargo/env
63+
stellar --version
64+
which stellar
65+
5966
- run: npm ci --legacy-peer-deps
6067

6168
- run: npm run lint

0 commit comments

Comments
 (0)