Skip to content

added services and datasources with tests #17

added services and datasources with tests

added services and datasources with tests #17

Workflow file for this run

name: Pull Request
on: pull_request
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
echo "::add-matcher::.github/actionlint-matcher.json"
shell: bash
- uses: docker://rhysd/actionlint:1.6.25
with:
args: -color
test:
runs-on: ubuntu-latest
env:
DOTENV_PRIVATE_KEY: ${{ secrets.DOTENV_PRIVATE_KEY }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- uses: oven-sh/setup-bun@v2
with:
bun-version-file: ".bun-version"
- run: bun install --frozen-lockfile
- run: |
cat .env
echo "$DOTENV_PRIVATE_KEY" | rev
bun run config:get PGHOST
- run: bun start
- run: bun run wait-for-startup
- run: bun run migration:up
- run: bun run seed:up
- run: bun test
- run: |
bun run logs:app
bun run logs:postgres
bun stop
if: always()