added light/dark switch Fixes #157 also added stellar wallet kit Fixes #155 #355
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NodeJS | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
complete: | |
if: always() | |
needs: [build-and-test] | |
runs-on: ubuntu-latest | |
steps: | |
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') | |
run: exit 1 | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: stellar/actions/rust-cache@main | |
- run: rustup update | |
- run: rustup target add wasm32-unknown-unknown | |
- run: cargo install --locked stellar-cli | |
- run: make build | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.17.0 | |
cache: 'npm' | |
- run: | | |
mkdir -p .soroban-example-dapp | |
echo 'testnet' > .soroban-example-dapp/network | |
echo 'CAU23MVDEW7VMB3AXC5PL5GZO3HBYZPEIP2P46X4T3AIC4Y7FXYZWES5' > .soroban-example-dapp/abundance_token_id | |
echo 'CDJPYH5HNGZ24SEWXFJOW6RXXHHNKU4XPCPBMB2VRTDPTMVPLYFQKZIE' > .soroban-example-dapp/crowdfund_id | |
echo 'Test SDF Network ; September 2015' > .soroban-example-dapp/passphrase | |
echo 'https://soroban-testnet.stellar.org/' > .soroban-example-dapp/rpc-url | |
echo '{"network":"testnet","rpcUrl":"https://soroban-testnet.stellar.org","networkPassphrase":"Test SDF Network ; September 2015"}' > shared/config.json | |
- run: npm ci | |
- run: npm run build |