diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 016bbb1..0038449 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -10,13 +10,17 @@ jobs: strategy: matrix: nodeVersion: [ 16, 18, 20 ] - jdkVersion: [ openjdk9, openjdk10, openjdk11, openjdk21 ] + jdkVersion: [ 9, 10, 11, 17, 21 ] steps: - name: Checkout source code uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: ${{ matrix.nodeVersion }} + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: ${{ matrix.jdkVersion }} - name: npm ci run: npm ci - name: Unit test diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index c5fd0d6..eaf63ba 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -11,13 +11,17 @@ jobs: strategy: matrix: nodeVersion: [ 16, 18, 20 ] - jdkVersion: [ openjdk9, openjdk10, openjdk11, openjdk21 ] + jdkVersion: [ 9, 10, 11, 17, 21 ] steps: - name: Checkout source code uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: ${{ matrix.nodeVersion }} + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: ${{ matrix.jdkVersion }} - name: npm ci run: npm ci - name: Unit test