chore(deps): update nextjs monorepo to v15 (major) #4860
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: CI | |
on: | |
push: | |
branches: | |
- '!main' | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
checks: | |
name: ESLint and Prettier checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/setup | |
- run: pnpm checks | |
build-wallet-frontend: | |
name: WALLET - Build frontend | |
runs-on: ubuntu-latest | |
needs: checks | |
if: > | |
contains(github.event.pull_request.labels.*.name, 'package: wallet/frontend') | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/setup | |
- run: pnpm wallet:frontend build | |
build-boutique-frontend: | |
name: BOUTIQUE - Build frontend | |
runs-on: ubuntu-latest | |
needs: checks | |
if: > | |
contains(github.event.pull_request.labels.*.name, 'package: boutique/frontend') | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/setup | |
- run: pnpm boutique:frontend build | |
build-wallet-backend: | |
name: WALLET - Build backend | |
runs-on: ubuntu-latest | |
needs: checks | |
if: > | |
contains(github.event.pull_request.labels.*.name, 'package: wallet/backend') | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/setup | |
- run: pnpm wallet:backend build | |
build-boutique-backend: | |
name: BOUTIQUE - Build backend | |
runs-on: ubuntu-latest | |
needs: checks | |
if: > | |
contains(github.event.pull_request.labels.*.name, 'package: boutique/backend') | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/setup | |
- run: pnpm boutique:backend build | |
test-wallet-backend: | |
name: WALLET - Test backend | |
runs-on: ubuntu-latest | |
needs: build-wallet-backend | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/setup | |
- run: pnpm wallet:backend build && pnpm wallet:backend test --detectOpenHandles --forceExit | |
test-boutique-backend: | |
name: BOUTIQUE - Test backend | |
runs-on: ubuntu-latest | |
needs: build-boutique-backend | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/workflows/setup | |
- run: pnpm boutique:backend test |