Skip to content

Commit 15d8e15

Browse files
committed
ci: exclude prisma sample from e2e
1 parent 94107ee commit 15d8e15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
"start:debug": "nest start --debug --watch",
3434
"start:prod": "node dist/main",
3535
"lint": "eslint \"apps/**/*.ts\" --fix",
36-
"test": "npx prisma generate --schema apps/prisma-sample/prisma/schema.prisma && npm run nx affected:test",
36+
"test": "pnpx prisma generate --schema apps/prisma-sample/prisma/schema.prisma && pnpm nx affected:test",
3737
"test:watch": "jest --watch",
3838
"test:cov": "jest --coverage",
3939
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
40-
"test:e2e": "./setupPrismaDatabase.sh && pnpx prisma generate --schema apps/prisma-sample/prisma/schema.prisma && DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma nx run-many --target=e2e --all",
40+
"test:e2e": "./setupPrismaDatabase.sh && pnpx prisma generate --schema apps/prisma-sample/prisma/schema.prisma && DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma nx run-many --target=e2e --all --exclude=prisma-sample",
4141
"test:cov:total": "DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma jest -c jest.cov.js",
4242
"nx": "nx"
4343
},

0 commit comments

Comments
 (0)