Skip to content

chore(deps-dev): Bump @types/node in /springwolf-ui (#347) #57

chore(deps-dev): Bump @types/node in /springwolf-ui (#347)

chore(deps-dev): Bump @types/node in /springwolf-ui (#347) #57

name: springwolf-core
on:
push:
branches:
- master
paths:
- '.github/workflows/springwolf-core.yml'
- 'springwolf-core/**'
pull_request:
types: [ opened, synchronize, ready_for_review ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Check formatting (before running tests)
run: ./gradlew -p springwolf-core spotlessCheck
- name: Build with Gradle
run: ./gradlew -p springwolf-core build
- name: Publish package
if: github.ref == 'refs/heads/master'
run: ./gradlew -p springwolf-core 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_URL: https://s01.oss.sonatype.org/content/repositories/snapshots/
ORG_GRADLE_PROJECT_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
ORG_GRADLE_PROJECT_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}