Add an element "PipelinePart" as possible root-element (#438) #93
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Doclet | |
| on: | |
| push: | |
| branches: [master] | |
| paths: | |
| - 'frank-doc-doclet/**' | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - 'frank-doc-doclet/**' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Build Frank!Framework with Doclet | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: frank-doc | |
| - name: Restore cached directories | |
| uses: actions/cache/restore@v4 | |
| with: | |
| path: | | |
| ~/.m2/repository | |
| ~/.sonar/cache | |
| key: maven-build-cache | |
| - 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 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: 'pnpm' | |
| cache-dependency-path: frank-doc/frank-doc-frontend/pnpm-lock.yaml | |
| - name: Build with Maven | |
| env: | |
| CI_SERVICE: GITHUB | |
| TZ: Europe/Amsterdam | |
| JAVA_OPTS: "-Xms1G -XX:+UseParallelGC" | |
| run: mvn -Pcodecoverage -Dmaven.javadoc.skip=true install -DskipTests | |
| working-directory: frank-doc/frank-doc-doclet/ | |
| - 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: frankframework | |
| - name: Build Frank!Framework | |
| env: | |
| CI_SERVICE: GITHUB | |
| TZ: Europe/Amsterdam | |
| run: ./mvnw -PattachFrankDoc -DskipTests -Dfrankdoc.version=$FRANKDOC_VERSION process-sources | |
| working-directory: frankframework | |
| - 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 \ | |
| frankframework/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 \ | |
| frankframework/target/frankdoc/xml/xsd/FrankConfig-compatibility.xsd | |
| - name: Store FrankDoc.json | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: FrankDoc.json | |
| path: frankframework/target/frankdoc/js/*.json | |
| - name: Store FrankDoc.xsd (Strict and compatibility) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: FrankDoc.xsd | |
| path: frankframework/target/frankdoc/xml/xsd/*.xsd | |
| - name: Save cached directories | |
| uses: actions/cache/save@v4 | |
| if: | | |
| always() && | |
| (github.ref == 'refs/heads/master') | |
| with: | |
| path: | | |
| ~/.m2/repository | |
| ~/.sonar/cache | |
| key: maven-build-cache |