diff --git a/.github/workflows/treetracker-api-build-deploy-dev.yml b/.github/workflows/treetracker-api-build-deploy-dev.yml index 9278a78..e00c6ed 100644 --- a/.github/workflows/treetracker-api-build-deploy-dev.yml +++ b/.github/workflows/treetracker-api-build-deploy-dev.yml @@ -44,6 +44,11 @@ jobs: - name: run ESLint run: npm run lint working-directory: ${{ env.project-directory }} + - name: run migrate + run: npm run migrate + working-directory: ${{ env.project-directory }} + env: + DATABASE_URL: postgresql://postgres:postgres@postgres/postgres - name: run api tests run: npm run test working-directory: ${{ env.project-directory }}