Collectors, sequences and flows #772
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "pull_request" | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- name: Install Node dependencies | |
run: npm ci --prefer-offline --no-audit | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Gradle build | |
run: ./gradlew build | |
- name: Run website tests | |
run: npm run test --if-present | |
- name: Build website | |
run: npm run build |