Skip to content

chore(deps): Bump junitJupiterVersion from 5.10.3 to 5.11.0 (#933) #30

chore(deps): Bump junitJupiterVersion from 5.10.3 to 5.11.0 (#933)

chore(deps): Bump junitJupiterVersion from 5.10.3 to 5.11.0 (#933) #30

Workflow file for this run

name: springwolf-ui
on:
push:
branches:
- master
pull_request:
types: [ opened, synchronize, ready_for_review ]
workflow_dispatch:
permissions:
contents: write
checks: write
id-token: write
env:
project: springwolf-ui
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Check formatting (before running tests)
run: ./gradlew -p ${{ env.project }} spotlessCheck
- name: Test
run: ./gradlew -p ${{ env.project }} npm_run_test
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
check_name: test-ui-jest
require_tests: true
report_paths: '**/build/test-results/test/*.xml'
- name: Build
run: ./gradlew -p ${{ env.project }} build
- name: Publish package
if: github.ref == 'refs/heads/master'
run: ./gradlew -p ${{ env.project }} publish
env:
ORG_GRADLE_PROJECT_SNAPSHOT: true
ORG_GRADLE_PROJECT_SIGNINGKEY: ${{secrets.ORG_GRADLE_PROJECT_SIGNINGKEY}}
ORG_GRADLE_PROJECT_SIGNINGPASSWORD: ${{secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD}}
ORG_GRADLE_PROJECT_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
ORG_GRADLE_PROJECT_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
- name: Build gh-pages
if: github.ref == 'refs/heads/master'
run: ./gradlew -p ${{ env.project }} buildPages
- name: Deploy to gh pages 🚀
if: github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ${{ env.project }}/dist/springwolf-ui/