Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
9e7cfd4
feat: added Prisma
Neppale Dec 24, 2025
074e8f9
feat: added track repository with createMany method
Neppale Dec 24, 2025
b8cc72d
chore: update launch configuration and clean up PrismaService
Neppale Dec 24, 2025
838c411
chore: update package-lock.json and package.json for dependency upgrades
Neppale Dec 24, 2025
b095481
chore: update .gitignore, package.json, and package-lock.json for Pri…
Neppale Dec 24, 2025
edd7ec2
chore: use alias import paths for playlist services
Neppale Dec 24, 2025
7df33be
chore: update import paths to use aliases for tracks services
Neppale Dec 24, 2025
0fb0076
chore: fix app module path and update import paths to use aliases for…
Neppale Dec 24, 2025
d27f4a7
chore: update import paths to use aliases for various services and mo…
Neppale Dec 24, 2025
33c960e
chore: enhance TypeScript configuration and update launch settings fo…
Neppale Dec 24, 2025
0b6b9d1
chore: update Prisma output path and adjust import paths for better m…
Neppale Dec 24, 2025
25a60ec
chore: remove deprecated PrismaClient alias and update import paths f…
Neppale Dec 24, 2025
305c3b8
ci: rename GitHub Actions workflow to push
Neppale Dec 24, 2025
19689cb
chore: add tsc-alias and update package dependencies for improved Typ…
Neppale Dec 24, 2025
1a577db
ci: fix workflow triggers
Neppale Dec 24, 2025
b314c24
ci: add step to generate Prisma client in workflow
Neppale Dec 24, 2025
826107a
chore: add Prisma commands to package.json for client generation and …
Neppale Dec 24, 2025
fd8bf20
ci: add new workflow for database migration and deployment to Render
Neppale Dec 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/push-master.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Push to master workflow

on:
push:
branches:
- master
workflow_dispatch:

jobs:
migrate:
runs-on: ubuntu-latest

steps:
- name: Migrate database
run: npm run prisma:migrate:deploy

deploy:
runs-on: ubuntu-latest

steps:
- name: Deploy to Render
uses: johnbeynon/render-deploy-action@v0.0.8
with:
service-id: ${{ secrets.RENDER_SERVICE_ID }}
api-key: ${{ secrets.RENDER_API_KEY }}
wait-for-success: true
- name: Deploy to Render
12 changes: 10 additions & 2 deletions .github/workflows/testing.yaml → .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Testing workflow
name: Push workflow

on: [push]
on:
push:
workflow_dispatch:

jobs:
build:
Expand All @@ -13,6 +15,9 @@ jobs:
- name: Install dependencies
run: npm install

- name: Generate Prisma client
run: npm run prisma:generate

- name: Build
run: npm run build

Expand All @@ -26,6 +31,9 @@ jobs:
- name: Install dependencies
run: npm install

- name: Generate Prisma client
run: npm run prisma:generate

- name: Test
run: npm run test:cov

Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,8 @@ lerna-debug.log*

# Coverage
/coverage

# Prisma
prisma/*.db
prisma/*.db-journal
/generated/prisma
6 changes: 4 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
{
"type": "node",
"request": "launch",
"name": "Nest Debug",
"name": "Debug SpotifyMatch API",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "start:debug"],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"outputCapture": "std",
"restart": true
}
]
Expand Down
Loading
Loading