chore: bump version #303
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: Pipeline | |
on: | |
push: | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
test-backend: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build test environment | |
run: docker compose -f docker-compose.test.yml build --no-cache | |
- name: Run test environment | |
run: docker compose -f docker-compose.test.yml up -d | |
- name: Setup bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1.1.3 | |
- name: Install dependencies | |
run: cd interapp-backend && bun install | |
- name: Test with bun | |
run: cd interapp-backend && bun run test | |
- name: Tear down test environment | |
run: docker compose -f docker-compose.test.yml down | |
build-application: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup prod environment | |
run: docker compose -f docker-compose.prod.yml up -d --build | |
- name: Tear down prod environment | |
run: docker compose -f docker-compose.prod.yml down |