feat: RDO-6-1-liner-sdk-examples #50
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: Memphis SDK Build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Download docker-compose file | |
run: | | |
curl -s https://memphisdev.github.io/memphis-docker/docker-compose-dev.yml -o docker-compose.yaml | |
- name: Run docker-compose file | |
run: docker compose -f docker-compose.yaml -p memphis up -d | |
- name: Install Dependencies | |
run: npm i | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm run test |