Bump @prisma/client from 5.22.0 to 6.3.0 #1181
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
name: Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: checks-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
changed: | |
runs-on: ubuntu-22.04 | |
outputs: | |
frontend: ${{ steps.needs.outputs.frontend }} | |
backend: ${{ steps.needs.outputs.backend }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.2.1 | |
- name: Paths Changes Filter | |
uses: dorny/paths-filter@v3.0.2 | |
id: changes | |
with: | |
filters: | | |
frontend: | |
- 'apps/frontend/**/*' | |
- 'packages/eslint-config/**/*' | |
- 'packages/tsconfig-config/**/*' | |
- 'package.json' | |
backend: | |
- 'apps/backend/**/*' | |
- 'packages/eslint-config-custom/**/*' | |
- 'packages/tsconfig/**/*' | |
- 'package.json' | |
- name: Output Needs | |
id: needs | |
run: | | |
echo "frontend=${{ steps.changes.outputs.frontend == 'true' }}" >> $GITHUB_OUTPUT | |
echo "backend=${{ steps.changes.outputs.backend == 'true' }}" >> $GITHUB_OUTPUT | |
frontend: | |
runs-on: ubuntu-22.04 | |
needs: changed | |
if: needs.changed.outputs.frontend == 'true' | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.2.1 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4.0.0 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4.2.0 | |
with: | |
node-version-file: 'package.json' | |
cache: 'pnpm' | |
cache-dependency-path: 'pnpm-lock.yaml' | |
- name: Clean install using pnpm | |
shell: bash | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
run: pnpm run build --filter=frontend | |
backend: | |
runs-on: ubuntu-22.04 | |
needs: changed | |
if: needs.changed.outputs.backend == 'true' | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.2.1 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4.0.0 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4.2.0 | |
with: | |
node-version-file: 'package.json' | |
cache: 'pnpm' | |
cache-dependency-path: 'pnpm-lock.yaml' | |
- name: Clean install using pnpm | |
shell: bash | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
run: pnpm run build --filter=backend |