Upload API Prep Part 2: Refactor database and api to new table format #56
Workflow file for this run
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: 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 |