Skip to content

Commit

Permalink
chore(ci): Real switch between java versions, test under java17
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Sep 10, 2024
1 parent fad0879 commit 16c1b4c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16c1b4c

Please sign in to comment.