change backend to use @stellar/stellar-sdk #302
Workflow file for this run
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: Backend - Test and build | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- backend/** | |
- commons/** | |
pull_request: | |
paths: | |
- backend/** | |
- commons/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
# Set health checks to wait until redis has started | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: yarn install | |
- run: yarn install | |
working-directory: ./backend | |
- run: yarn build | |
working-directory: ./backend | |
- run: yarn test | |
working-directory: ./backend |