Skip to content

New frontend UX design #601

New frontend UX design

New frontend UX design #601

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
path: frank-doc
- name: Cache local Maven repository
uses: actions/cache@v3
env:
cache-name: cache-maven-dependencies
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Set up Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Build with Maven
env:
CI_SERVICE: GITHUB
TZ: Europe/Amsterdam
JAVA_OPTS: "-Xms1G -XX:+UseParallelGC"
run: mvn -B -V -T1 -Pibissource,codecoverage -Dmaven.javadoc.skip=true install
working-directory: frank-doc
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
test-frankframework:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
path: frank-doc
- name: Cache local Maven repository
uses: actions/cache@v3
env:
cache-name: cache-maven-dependencies
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Set up Node.js 21
uses: actions/setup-node@v4
with:
node-version: 21
cache: 'pnpm'
cache-dependency-path: frank-doc-frontend/pnpm-lock.yaml
- name: Build with Maven
env:
CI_SERVICE: GITHUB
TZ: Europe/Amsterdam
JAVA_OPTS: "-Xms1G -XX:+UseParallelGC"
run: mvn -B -V -T1 -Pibissource,codecoverage -Dmaven.javadoc.skip=true install -DskipTests
working-directory: frank-doc
- name: Set Frank!Doc version environment variable
run: echo "FRANKDOC_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
working-directory: frank-doc
- name: Checkout Frank!Framework
uses: actions/checkout@v4
with:
fetch-depth: 2
repository: frankframework/frankframework
path: iaf
- name: Build Frank!Framework
env:
CI_SERVICE: GITHUB
TZ: Europe/Amsterdam
JAVA_OPTS: "-Xms1G -XX:+UseParallelGC"
run: ./mvnw -B -V -T1 -PattachFrankDoc -DskipTests -Dfrankdoc.version=$FRANKDOC_VERSION process-sources
working-directory: iaf
- name: Check FrankConfig.xsd
run: |
java -jar \
frank-doc/frank-doc-doclet/target/frank-doc-doclet-$FRANKDOC_VERSION.jar \
frank-doc/.github/workflows/validConfig.xml \
iaf/target/frankdoc/xml/xsd/FrankConfig.xsd
- name: Check FrankConfig-compatibility.xsd
run: |
java -jar \
frank-doc/frank-doc-doclet/target/frank-doc-doclet-$FRANKDOC_VERSION.jar \
frank-doc/.github/workflows/validConfig.xml \
iaf/target/frankdoc/xml/xsd/FrankConfig-compatibility.xsd
- name: Store FrankDoc.json
uses: actions/upload-artifact@v3
with:
name: FrankDoc.json
path: iaf/target/frankdoc/js/*.json
- name: Store FrankDoc.xsd (Strict and compatibility)
uses: actions/upload-artifact@v3
with:
name: FrankDoc.xsd
path: iaf/target/frankdoc/xml/xsd/*.xsd