Add Checkstyle and Prettier to BFF #65
19
.gitea/workflows/code-style.yaml
Normal file
19
.gitea/workflows/code-style.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Code style BFF
|
||||||
|
on:
|
||||||
|
- pull_request
|
||||||
|
- push
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: bff
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: temurin
|
||||||
|
java-version: 25
|
||||||
|
cache: maven
|
||||||
|
- name: Run checkstyle and prettier
|
||||||
|
run: mvn validate --batch-mode
|
||||||
Loading…
x
Reference in New Issue
Block a user