Skip to content

Upload API Prep Part 1: Add db-migrate, extract config.ts, change tsoa entrypoint and use tsx in prod #50

Upload API Prep Part 1: Add db-migrate, extract config.ts, change tsoa entrypoint and use tsx in prod

Upload API Prep Part 1: Add db-migrate, extract config.ts, change tsoa entrypoint and use tsx in prod #50

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Install dependencies
run: |
npm ci
- name: Run lint
run: |
npm run lint
- name: Run build
run: |
npm run build
- name: Start environment
run: |
docker compose -f compose.test.yml up -d --wait
- name: Run test
run: |
npm run test
- name: Report Coverage
if: always()
uses: davelosert/vitest-coverage-report-action@v2