Skip to content

Commit 6dc6d27

Browse files
committed
ci: not use prisma 7
1 parent 7773bda commit 6dc6d27

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
node-version: ${{ matrix.node-version }}
2323
cache: 'pnpm'
2424
- run: pnpm install --frozen-lockfile
25-
- run: pnpm pnpx prisma generate
25+
- run: pnpm prisma generate
2626
- run: pnpm lint
2727

2828
build:
@@ -41,7 +41,7 @@ jobs:
4141
node-version: ${{ matrix.node-version }}
4242
cache: 'pnpm'
4343
- run: pnpm install --frozen-lockfile
44-
- run: pnpm pnpx prisma generate
44+
- run: pnpm prisma generate
4545
- run: pnpm build
4646

4747
test:
@@ -76,8 +76,8 @@ jobs:
7676
node-version: ${{ matrix.node-version }}
7777
cache: 'pnpm'
7878
- run: pnpm install --frozen-lockfile
79-
- run: pnpm pnpx prisma generate
80-
- run: pnpm pnpx prisma db push
79+
- run: pnpm prisma generate
80+
- run: pnpm prisma db push
8181
- run: docker exec -i mariadb mysql -utest -ptest arena < seed.sql
8282
- run: pnpm test:coverage
8383
- uses: codecov/codecov-action@v5
@@ -108,7 +108,7 @@ jobs:
108108
node-version: ${{ matrix.node-version }}
109109
cache: 'pnpm'
110110
- run: pnpm install --frozen-lockfile
111-
- run: pnpm pnpx prisma generate
111+
- run: pnpm prisma generate
112112
- env:
113113
BRANCH: ${{ github.ref == 'refs/heads/master' && 'master' || 'dev' }}
114114
DBDOCS_TOKEN: ${{ secrets.DBDOCS_TOKEN }}
@@ -133,7 +133,7 @@ jobs:
133133
password: ${{ secrets.REGISTRY_TOKEN }}
134134
- name: Build and push
135135
uses: docker/build-push-action@v6
136-
with:
136+
with:
137137
push: true
138138
tags: |
139139
${{ secrets.REGISTRY_URL }}/uttarena/api:${{ github.ref == 'refs/heads/master' && 'master' || 'dev' }}

0 commit comments

Comments
 (0)