Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
fix(ci): rollback pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
xzima committed Apr 6, 2022
1 parent 4b48278 commit 1815005
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,41 @@ permissions:
pull-requests: write

jobs:
# commit-lint:
# name: Lint Commit Messages
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
#
# - uses: wagoid/[email protected]
# with:
# configFile: .github/commitlint.config.js
# helpURL: https://www.conventionalcommits.org
commit-lint:
name: Lint Commit Messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

# run-test:
# needs: [ commit-lint ]
# name: Run tests
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - uses: actions/setup-java@v2
# with:
# distribution: 'temurin'
# java-version: '11'
# cache: 'maven'
# - run: ./mvnw clean test
# - name: Publish Unit Test Results
# uses: EnricoMi/publish-unit-test-result-action@v1
# if: always()
# with:
# files: "target/surefire-reports/TEST-*.xml"
- uses: wagoid/[email protected]
with:
configFile: .github/commitlint.config.js
helpURL: https://www.conventionalcommits.org

run-test:
needs: [ commit-lint ]
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
cache: 'maven'
- run: ./mvnw clean test
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: "target/surefire-reports/TEST-*.xml"

release:
# needs: [ run-test ]
needs: [ run-test ]
name: Release
runs-on: ubuntu-latest
outputs:
Expand Down

0 comments on commit 1815005

Please sign in to comment.