Skip to content

Build(deps): Bump @lexical/react from 0.44.0 to 0.46.0 in /catalog/ui #5941

Build(deps): Bump @lexical/react from 0.44.0 to 0.46.0 in /catalog/ui

Build(deps): Bump @lexical/react from 0.44.0 to 0.46.0 in /catalog/ui #5941

Workflow file for this run

name: Catalog UI - PR Workflow
on:
push:
paths:
- catalog/**
branches:
- main
pull_request:
paths:
- catalog/**
branches:
- main
permissions:
contents: read
jobs:
test:
name: "UI Tests"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest"]
node: ["22"]
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Install pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6
with:
version: 11.1.2
- name: Setup node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
cache-dependency-path: ./catalog/ui/pnpm-lock.yaml
- name: Install packages
working-directory: ./catalog/ui
run: pnpm install --frozen-lockfile
- name: Run integration tests
working-directory: ./catalog/ui
run: pnpm run test
shell: bash
deploy:
needs: test
name: "Publish image in quay"
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
env:
APP_NAME: babylon-catalog-ui
CONTAINER_NAME: ui
IMAGE_TAGS: ${{ secrets.REGISTRY_URI }}/${{ secrets.GPTE_REGISTRY_REPOSITORY }}/babylon-catalog-ui:${{ github.sha }}
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Set up buildx
uses: docker/setup-buildx-action@f211e3e9ded2d9377c8cadc4489a4e38014bc4c9 # v1.7.0
if: env.IMAGE_TAGS
- name: Login to redhat.io registry
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c # v1.9.0
if: env.IMAGE_TAGS
with:
registry: ${{ secrets.REDHAT_REGISTRY_URI }}
username: ${{ secrets.REDHAT_REGISTRY_USERNAME }}
password: ${{ secrets.REDHAT_REGISTRY_PASSWORD }}
- name: Login to quay.io registry
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c # v1.9.0
if: env.IMAGE_TAGS
with:
registry: ${{ secrets.REGISTRY_URI }}
username: ${{ secrets.GPTE_REGISTRY_USERNAME }}
password: ${{ secrets.GPTE_REGISTRY_PASSWORD }}
- name: Build and publish image
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a # v2.10.0
if: env.IMAGE_TAGS
with:
registry: ${{ secrets.REGISTRY_URI }}
context: catalog/ui
file: catalog/ui/Dockerfile
build-args: |
MONITOR_ENABLED=false
TRACKING_ENABLED=false
OPTIONAL_FLAGS=default
push: true
tags: ${{ env.IMAGE_TAGS }}
# images from a PR expire after 14d
labels: |
quay.expires-after=14d