Skip to content

chore: build-image.yml - update build-push-action to v6 #18

chore: build-image.yml - update build-push-action to v6

chore: build-image.yml - update build-push-action to v6 #18

Workflow file for this run

name: CI
on:
push:
branches: [main]
jobs:
backend-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21 for x64
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: temurin
architecture: x64
cache: maven
- name: Install Maven
run: sudo apt-get update && sudo apt-get install -y maven
- name: Build with Maven
run: mvn --batch-mode --update-snapshots compile
frontend-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
architecture: x64
cache: pnpm
cache-dependency-path: ./frontend/pnpm-lock.yaml
- name: Install dependencies
run: pnpm install
working-directory: ./frontend
- name: Build frontend
run: pnpm build
working-directory: ./frontend