Skip to content

fix: create jar before running test #88

fix: create jar before running test

fix: create jar before running test #88

Workflow file for this run

name: Test Suite
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'
cache: 'gradle'
- name: Set up NPM
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Create JAR
run: ./gradlew jar --console=plain --warning-mode all
- name: Build
run: ./gradlew installDist --console=plain --warning-mode all
- name: Run tests
run: ./gradlew test --console=plain --warning-mode all