-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
edbcf39
commit 3b5a302
Showing
7 changed files
with
39 additions
and
4,614 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18] | ||
node-version: [20] | ||
services: | ||
# Label used to access the service container | ||
postgres: | ||
|
@@ -59,28 +59,23 @@ jobs: | |
- name: Setup Redis server | ||
uses: supercharge/[email protected] | ||
|
||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
|
||
- name: Setup Node - ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
run: npm install | ||
|
||
- name: Run prisma migrations & generate prisma client | ||
run: pnpm exec prisma migrate dev | ||
run: npx prisma migrate dev | ||
|
||
- name: Lint code | ||
run: pnpm run lint | ||
run: npm run lint | ||
|
||
- name: Run tests | ||
run: pnpm run test --coverage | ||
run: npm run test -- --coverage | ||
|
||
- name: Comment coverage report on pull request | ||
if: ${{ github.event_name == 'pull_request' }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
node_modules | ||
pnpm-lock.yaml | ||
package-lock.json | ||
prisma | ||
build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
migrate-dev: | ||
pnpm exec prisma migrate dev | ||
npx prisma migrate dev | ||
migrate-deploy: | ||
pnpm exec prisma migrate deploy | ||
npx prisma migrate deploy | ||
migrate-reset: | ||
pnpm exec prisma migrate reset | ||
npx prisma migrate reset | ||
prisma-generate: | ||
pnpm exec prisma generate | ||
npx prisma generate | ||
prod: | ||
pnpm run build | ||
pnpm run start | ||
npm run build | ||
npm run start | ||
dev: | ||
pnpm run dev | ||
npm run dev | ||
test: | ||
pnpm run test | ||
npm run test | ||
test-coverage: | ||
pnpm run test --coverage | ||
npm run test -- --coverage | ||
format: | ||
pnpm run format | ||
npm run format |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.