Skip to content

fix(login): load self-contained control icons #96

fix(login): load self-contained control icons

fix(login): load self-contained control icons #96

Workflow file for this run

name: Identity CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: identity-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-theme:
runs-on: blacksmith-2vcpu-ubuntu-2404
timeout-minutes: 30
steps:
- uses: actions/checkout@v7.0.1
- uses: actions/setup-node@v7
with:
node-version: 20
- name: Use pre-installed Temurin JDK 17
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> "$GITHUB_ENV"
- name: Install Maven
run: |
if ! command -v mvn >/dev/null 2>&1; then
sudo apt-get update
sudo apt-get install -y maven
fi
mvn -version
- name: Install dependencies
id: install
run: |
set -o pipefail
npm install 2>&1 | tee ci-install.log
- name: Typecheck and web build
id: check
run: |
set -o pipefail
npm run check 2>&1 | tee ci-check.log
- name: Build Keycloak theme
id: theme
run: |
set -o pipefail
npm run build:keycloak 2>&1 | tee ci-theme.log
- name: Inspect Keycloak build output
run: find dist_keycloak -maxdepth 2 -type f -print
- name: Validate production Docker image
id: docker
run: |
set -o pipefail
docker build --pull -t corelink-identity:ci . 2>&1 | tee ci-docker.log
- name: Upload diagnostics
if: always()
uses: actions/upload-artifact@v7.0.1
with:
name: identity-ci-diagnostics
path: |
ci-install.log
ci-check.log
ci-theme.log
ci-docker.log
if-no-files-found: ignore
- name: Upload theme JAR
if: success()
uses: actions/upload-artifact@v7.0.1
with:
name: corelink-keycloak-theme
path: dist_keycloak/*.jar
if-no-files-found: error