Skip to content

bump CI to Java 21 + add Node.js testing #141

bump CI to Java 21 + add Node.js testing

bump CI to Java 21 + add Node.js testing #141

Workflow file for this run

name: Test
on:
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
test_groovy:
name: Groovy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: 'temurin'
java-version: '21'
cache: 'gradle'
- name: Run Groovy Tests
working-directory: adopt-github-release
run: ./gradlew --info test
test_node:
name: Node
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'
cache: 'npm'
- name: Install Node Dependencies
working-directory: generate-release-notes/generate-release-notes
run: npm install
- name: Run Tests
working-directory: generate-release-notes/generate-release-notes
run: npm test