chore(hybrid-cloud): Adds ngrok config example (#67) #305
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-ts | |
on: | |
pull_request: | |
paths: | |
- ".github/actions/**" | |
- ".github/workflows/backend-ts.yml" | |
- "backend-ts/**" | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
timeout-minutes: 20 | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: "./.github/actions/setup-node" | |
with: | |
project_directory: backend-ts | |
- uses: "./.github/actions/setup-test" | |
- name: Run Tests | |
working-directory: backend-ts | |
run: npm run test:ci | |
docker: | |
timeout-minutes: 10 | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Test image starts up | |
run: | | |
cp .env.sample .env | |
docker compose up -d frontend backend-ts | |
curl --request GET http://0.0.0.0:5200 || docker compose logs |