Version 8 is going to drop support for npm versions older than 7 #595
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: Build | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
matrix: | |
config: | |
- {os: ubuntu-latest, java: 11, params: "'-PtestedGradleVersion=6.9.4|7.6.3' pnpmTests" } | |
- {os: ubuntu-latest, java: 11, params: "'-PtestedGradleVersion=6.9.4|7.6.3' build" } | |
- {os: ubuntu-latest, java: 17, params: "'-PtestedGradleVersion=8.10.2' build pnpmTests"} | |
- {os: windows-latest, java: 11, params: "build pnpmTests" } | |
- {os: macos-latest, java: 11, params: "build pnpmTests" } | |
steps: | |
- name: Checkout Source Code | |
uses: actions/checkout@v4 | |
- name: Install Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.config.java }} | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
cache-read-only: ${{ github.event_name == 'pull_request' }} | |
- name: Build | |
run: ./gradlew --scan "-Pcom.github.gradle.node.predictivetestselection=${{ github.event_name == 'pull_request' }}" ${{ matrix.config.params }} | |
env: | |
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} |