Skip to content

build(deps): bump com.fasterxml.jackson.core:jackson-databind from 2.21.1 to 2.22.0 in /libs/shared/sdks/v1/query/java-spring/promptly-query in the maven group across 1 directory #54

build(deps): bump com.fasterxml.jackson.core:jackson-databind from 2.21.1 to 2.22.0 in /libs/shared/sdks/v1/query/java-spring/promptly-query in the maven group across 1 directory

build(deps): bump com.fasterxml.jackson.core:jackson-databind from 2.21.1 to 2.22.0 in /libs/shared/sdks/v1/query/java-spring/promptly-query in the maven group across 1 directory #54

Workflow file for this run

# ═══════════════════════════════════════════════════════════════════════
# Promptly — Build & Test CI Pipeline
#
# Runs on every push/PR to main:
# 1. Backend: Maven compile + unit tests
# 2. Frontend: Nx build + lint
# ═══════════════════════════════════════════════════════════════════════
name: Build & Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
NODE_VERSION: '22'
JAVA_VERSION: '21'
JAVA_DISTRIBUTION: 'temurin'
jobs:
# ── Backend: compile + test ─────────────────────────────────────
backend:
name: Backend (Java ${{ matrix.java }})
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
java: ['21']
services:
mongodb:
image: mongodb/mongodb-atlas-local:8.0
ports:
- 27017:27017
options: >-
--health-cmd "mongosh --eval 'db.runCommand(\"ping\").ok' --quiet"
--health-interval 15s
--health-timeout 10s
--health-retries 10
--health-start-period 30s
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: ${{ env.JAVA_DISTRIBUTION }}
cache: maven
server-id: spectrayan-github-server-sent-events
server-username: MAVEN_USERNAME
server-password: MAVEN_TOKEN
- name: Build & Test
run: mvn verify -B -q --fail-at-end
env:
SPRING_MONGODB_URI: mongodb://localhost:27017/promptly-test
MAVEN_USERNAME: ${{ github.actor }}
MAVEN_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: backend-test-results
path: |
**/target/surefire-reports/
**/target/failsafe-reports/
retention-days: 7
# ── Frontend: build + lint ──────────────────────────────────────
frontend:
name: Frontend (Node ${{ matrix.node }})
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node: ['22']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Get pnpm store directory
shell: bash
run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Cache pnpm
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: pnpm-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: pnpm-${{ runner.os }}-
- name: Install dependencies
run: pnpm install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Lint
run: npx nx lint promptly --skip-nx-cache
- name: Build
run: npx nx build promptly --configuration=production --skip-nx-cache